migrations: keep system helpers sudo-compatible
This commit is contained in:
12 files changed
+27
-27
No files matched your search
@@ -1,5 +1,5 @@
|
||||
# Ensure that F-keys on Apple-like keyboards (such as Lofree Flow84) are always F-keys
|
||||
if [[ ! -f /etc/modprobe.d/hid_apple.conf ]]; then
|
||||
mkdir -p /etc/modprobe.d
|
||||
echo "options hid_apple fnmode=2" > /etc/modprobe.d/hid_apple.conf
|
||||
sudo mkdir -p /etc/modprobe.d
|
||||
echo "options hid_apple fnmode=2" | sudo tee /etc/modprobe.d/hid_apple.conf >/dev/null
|
||||
fi
|
||||
Reference in new issue
Block a user