diff --git a/migrations/1777909712.sh b/migrations/1777909712.sh new file mode 100644 index 00000000..60c738a1 --- /dev/null +++ b/migrations/1777909712.sh @@ -0,0 +1,10 @@ +echo "Remove stale Xe Panel Replay kernel cmdline from Dell XPS Panther Lake systems" + +DEFAULT_LIMINE="/etc/default/limine" + +if omarchy-hw-match "XPS" && omarchy-hw-intel-ptl; then + if [[ -f $DEFAULT_LIMINE ]] && grep -q 'xe\.enable_panel_replay' "$DEFAULT_LIMINE"; then + sudo sed -i '/^KERNEL_CMDLINE.*xe\.enable_panel_replay/d' "$DEFAULT_LIMINE" + sudo limine-update + fi +fi