]> git.donarmstrong.com Git - bin.git/blobdiff - fix_touchpad
add mutt alias which executes neomutt if that exists
[bin.git] / fix_touchpad
index 726c0a520d7996e9c0a9e6879a527ddf32676531..3e96c6adff31a4df28fedcb5573a04f46f4d4095 100755 (executable)
@@ -1,11 +1,6 @@
 #!/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
+sudo modprobe -r appletouch;
+sudo modprobe appletouch;
+sudo chvt 6;
+sudo chvt 7;
\ No newline at end of file