aboutsummaryrefslogtreecommitdiff
path: root/install.sh
blob: 7059a1252661d7e5a35745dafc669f595b6ea3d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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