]> git.donarmstrong.com Git - bin.git/commitdiff
add fix_touchpad
authorDon Armstrong <don@donarmstrong.com>
Sat, 4 Nov 2006 09:46:23 +0000 (09:46 +0000)
committerDon Armstrong <don@donarmstrong.com>
Sat, 4 Nov 2006 09:46:23 +0000 (09:46 +0000)
fix_touchpad [new file with mode: 0755]

diff --git a/fix_touchpad b/fix_touchpad
new file mode 100755 (executable)
index 0000000..726c0a5
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+if [ $(id -u) != 0 ]; then
+    echo "$0 must be run as root";
+    exit 1;
+fi;
+
+modprobe -r appletouch;
+modprobe appletouch;
+chvt 6;
+chvt 7;
\ No newline at end of file