diff options
-rwxr-xr-x | patchroot.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/patchroot.sh b/patchroot.sh index aa18b8f..738beac 100755 --- a/patchroot.sh +++ b/patchroot.sh | |||
@@ -30,6 +30,11 @@ else | |||
30 | default_sources_list > /etc/apt/sources.list | 30 | default_sources_list > /etc/apt/sources.list |
31 | fi | 31 | fi |
32 | 32 | ||
33 | if [ -e /sys/module/hid_apple/parameters/fnmode ]; then | ||
34 | echo 2 > /sys/module/hid_apple/parameters/fnmode | ||
35 | fi | ||
36 | echo options hid_apple fnmode=2 > /etc/modprobe.d/apple.conf | ||
37 | |||
33 | if [ "$(ifquery -a --list)" = lo ]; then | 38 | if [ "$(ifquery -a --list)" = lo ]; then |
34 | # No configured interfaces. Do something! | 39 | # No configured interfaces. Do something! |
35 | dhclient $(network_devs) | 40 | dhclient $(network_devs) |