-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall_all.sh
More file actions
executable file
·43 lines (30 loc) · 894 Bytes
/
install_all.sh
File metadata and controls
executable file
·43 lines (30 loc) · 894 Bytes
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
#!/bin/bash -eu
# install requirements
sudo apt-get update
sudo apt-get install -y git curl
# in case they don't exist create Download/Desktop folder (e.g. lite)
mkdir -p ~/Downloads
mkdir -p ~/Desktop
cd ~/Downloads/ImSwitchDockerInstall
echo "Install Docker"
./install_docker_raspi.sh
echo "Pull and Install Docker Image"
./pull_and_run.sh
echo "Install HIK Driver"
./install_hikdriver.sh
echo "Install Daheng Driver"
./install_dahengdriver.sh
echo "Install Vimba Driver"
./install_vimba.sh
echo "Setup RaspAp"
./install_raspap.sh
echo "Create Desktop Icons"
./create_desktopicons.sh
echo "Set Wallpaper"
./install_backgroundwallpaper.sh
echo "Set install_autostart for ImSwitch"
./install_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"