X-Git-Url: https://git.donarmstrong.com/?p=bin.git;a=blobdiff_plain;f=fix_touchpad;h=3e96c6adff31a4df28fedcb5573a04f46f4d4095;hp=726c0a520d7996e9c0a9e6879a527ddf32676531;hb=1886c7247cb16ed68a78cd5550b152689a465999;hpb=70b2364c47215db6b79aa1700d287eb5ef20e52e diff --git a/fix_touchpad b/fix_touchpad index 726c0a5..3e96c6a 100755 --- a/fix_touchpad +++ b/fix_touchpad @@ -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