summaryrefslogtreecommitdiff
path: root/src/initrd/patchroot.sh
blob: 9f0d1424f5d53608bf81ecd7c8c211b707d8fc97 (plain)
1
2
3
4
5
6
7
#!/bin/sh

if [ -e /sys/module/hid_apple/parameters/fnmode ]; then
    echo 2 > /sys/module/hid_apple/parameters/fnmode
fi
echo options hid_apple fnmode=2 > /etc/modprobe.d/apple.conf