Only run if not already configured

This commit is contained in:
David Heinemeier Hansson
2025-07-09 19:05:37 -04:00
parent bdfab2c305
commit 5c1d8cc2b3

View File

@ -1,2 +1,4 @@
echo "options hid_apple fnmode=2" | sudo tee /etc/modprobe.d/hid_apple.conf if [[ ! -f /etc/modprobe.d/hid_apple.conf ]]; do
sudo mkinitcpio -P echo "options hid_apple fnmode=2" | sudo tee /etc/modprobe.d/hid_apple.conf
sudo mkinitcpio -P
fi