Last active
December 11, 2015 19:08
-
-
Save amok/4646279 to your computer and use it in GitHub Desktop.
Install psmouse alps drivers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ "$(id -u)" != "0" ]; then | |
echo "$0 must be run as root" | |
exit 1 | |
fi | |
echo 'Internet required for this to work' | |
cd ~ | |
apt-get update | |
apt-get -y install build-essential linux-headers-generic linux-headers-`uname -r` | |
echo "Downloading drivers...\n"; | |
wget -O- http://goo.gl/2G9CF | tar jx; | |
echo "Running install script...\n"; | |
cd psmouse-alps; | |
pwd; | |
ls | |
exec ./install_alps.sh; | |
echo "Removing driver temp directory...\n"; | |
rm -rf psmouse-alps | |
echo "Done\n"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment