summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/01-macbook
diff options
context:
space:
mode:
authorroot <root@dasajuma.(none)>2010-09-02 10:26:04 +0200
committerroot <root@dasajuma.(none)>2010-09-02 10:26:04 +0200
commit8e0d211bf674953f2830830e27cb80a8b720ef17 (patch)
treea7814d6dd37b84476628e51d9fcb5f3ea98bba8e /config/chroot_local-hooks/01-macbook
downloadkanotix-8e0d211bf674953f2830830e27cb80a8b720ef17.zip
kanotix-8e0d211bf674953f2830830e27cb80a8b720ef17.tar.gz
Initial commit
Diffstat (limited to 'config/chroot_local-hooks/01-macbook')
-rwxr-xr-xconfig/chroot_local-hooks/01-macbook6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/01-macbook b/config/chroot_local-hooks/01-macbook
new file mode 100755
index 0000000..3526bc6
--- /dev/null
+++ b/config/chroot_local-hooks/01-macbook
@@ -0,0 +1,6 @@
+#!/bin/sh
+mkdir -p /etc/skel/.kde/Autostart
+cat >/etc/skel/.kde/Autostart/macbook.sh <<MAC
+grep -q "Apple.*Keyboard" /proc/bus/input/devices && setxkbmap -model macbook79
+MAC
+chmod +x /etc/skel/.kde/Autostart/macbook.sh