summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpatchroot.sh5
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
31fi 31fi
32 32
33if [ -e /sys/module/hid_apple/parameters/fnmode ]; then
34 echo 2 > /sys/module/hid_apple/parameters/fnmode
35fi
36echo options hid_apple fnmode=2 > /etc/modprobe.d/apple.conf
37
33if [ "$(ifquery -a --list)" = lo ]; then 38if [ "$(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)