mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Add migration to handle lingering panel_replay addition
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user