From d7c40afa4334c25c967e8a83401ac1a968a0c084 Mon Sep 17 00:00:00 2001 From: derekhe Date: Sat, 27 Jun 2015 18:15:41 +0800 Subject: Add touch support. --- install.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 install.sh (limited to 'install.sh') 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 -- cgit v1.2.1