-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.sh
21 lines (14 loc) · 920 Bytes
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
#Setup script
clear
echo Set a new ROOT password:
passwd
echo -e "set paste\nset mouse=r" > .vimrc
apt-get install setup-odroid dbus d-feet less curl bzip2 lsb-compat lsb-release fortune fortunes -y
wget -q -O .bashrc https://raw.githubusercontent.com/ZacWolf/WebKiosk/master/root/.bashrc
wget -q -O touchscreen.sh https://raw.githubusercontent.com/ZacWolf/WebKiosk/master/touchscreen.sh && chmod 700 ./touchscreen.sh && ./touchscreen.sh
wget -q -O setupkiosk.sh https://raw.githubusercontent.com/ZacWolf/WebKiosk/master/setupkiosk.sh && chmod 700 ./setupkiosk.sh
wget -q -O ir.sh https://raw.githubusercontent.com/ZacWolf/WebKiosk/master/ir.sh && chmod 700 ./ir.sh
clear
read -p "The system will shutdown after you press [ENTER].\nIf you chose a touchscreen monitor, unplug the regular monitor, and plugin the touchscreen monitor after the system shuts down and you've removed power."
shutdown -h now