-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_all.sh
executable file
·45 lines (33 loc) · 995 Bytes
/
install_all.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/bash
# install requirements
sudo apt-get update
sudo apt-get install -y git curl
cd ~/Downloads/ImSwitchDockerInstall
echo "Install Docker"
chmod +x install_docker_raspi.sh
./install_docker_raspi.sh
echo "Pull and Install Docker Image"
chmod +x pull_and_run.sh
./pull_and_run.sh
echo "Clone ImSwitchConfig"
chmod +x git_clone_imswitchconfig.sh
./git_clone_imswitchconfig.sh
echo "Install HIK Driver"
chmod +x install_hikdriver.sh
./install_hikdriver.sh
echo "Install Daheng Driver"
chmod +x install_dahengdriver.sh
./install_dahengdriver.sh
echo "Create Desktop Icons"
chmod +x create_desktopicons.sh
./create_desktopicons.sh
ehco "Set Wallpaper"
chmod +x install_backgroundwallpaper.sh
./install_backgroundwallpaper.sh
echo "Set Autostart for ImSwitch"
chmod +x setup_autostart.sh
./setup_autostart.sh
# add serial devices to user group
sudo usermod -a -G dialout $USER
sudo usermod -a -G tty $USER
echo "Please reboot to take effect of adding serial devices to user group"