mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
11 lines
383 B
Bash
11 lines
383 B
Bash
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
|