script to swap command and opt on a mac

This commit is contained in:
sc-idevops 2024-11-17 22:27:29 -05:00
parent 580b1cf266
commit ce7968e934

4
scripts/apple_swapopt.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
# https://askubuntu.com/a/919096
echo options hid_apple swap_opt_cmd=1 | sudo tee -a /etc/modprobe.d/hid_apple.conf
sudo update-initramfs -u -k all