diff options
Diffstat (limited to '')
-rw-r--r-- | install.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..7059a12 --- /dev/null +++ b/install.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +chmod +x *.sh *.py +sudo patch -b /boot/config.txt 7inch.patch +sudo apt-get install -y python3-pip libudev-dev +sudo pip-3.2 install python-uinput pyudev + +sudo cp touch.py /usr/bin/ +sudo cp touch.sh /etc/init.d/ + +chmod +x /usr/bin/touch.py +chmod +x /etc/init.d/touch.sh + +sudo update-rc.d touch.sh defaults
\ No newline at end of file |