3
3
# get path of menu correct
4
4
pushd ~ /IOTstack
5
5
6
+ # This is the Display name for the menu
7
+ # structure : [CONTAINER]=MENU Display Text
8
+ # One entry per line to simplify PRs
6
9
declare -A cont_array=(
7
10
[portainer]=" Portainer"
8
11
[portainer_agent]=" Portainer agent"
@@ -29,11 +32,42 @@ declare -A cont_array=(
29
32
[diyhue]=" diyHue"
30
33
[homebridge]=" Homebridge"
31
34
[python]=" Python 3"
35
+ [qbittorrent]=" qbittorrent"
36
+ [zigbee2mqttassistant]=" zigbee2mqttassistant"
37
+ )
32
38
39
+ # The convension for CONTAINER is that it is the name of the .templates/CONTAINER directory and as the key below for the relevant arch
40
+
41
+ # keys for CONTAINER
42
+ # One per line to simply PR
43
+ declare -a armhf_keys=(
44
+ " portainer"
45
+ " nodered"
46
+ " influxdb"
47
+ " grafana"
48
+ " mosquitto"
49
+ " telegraf"
50
+ " mariadb"
51
+ " postgres"
52
+ " adminer"
53
+ " openhab"
54
+ " zigbee2mqtt"
55
+ " pihole"
56
+ " plex"
57
+ " tasmoadmin"
58
+ " rtl_433"
59
+ " espruinohub"
60
+ " motioneye"
61
+ " webthings_gateway"
62
+ " blynk_server"
63
+ " nextcloud"
64
+ " diyhue"
65
+ " homebridge"
66
+ " python"
67
+ " zigbee2mqttassistant"
68
+ " qbittorrent" ,
69
+ " portainer_agent"
33
70
)
34
- declare -a armhf_keys=(" portainer" " nodered" " influxdb" " grafana" " mosquitto" " telegraf" " mariadb" " postgres"
35
- " adminer" " openhab" " zigbee2mqtt" " pihole" " plex" " tasmoadmin" " rtl_433" " espruinohub"
36
- " motioneye" " webthings_gateway" " blynk_server" " nextcloud" " diyhue" " homebridge" " python" " portainer_agent" )
37
71
38
72
sys_arch=$( uname -m)
39
73
@@ -192,7 +226,7 @@ case $mainmenu_selection in
192
226
sudo apt install -y docker-compose
193
227
fi
194
228
195
- if (whiptail --title " Restart Required" --yesno " It is recommended that you restart you device now. Select yes to do so now" 20 78); then
229
+ if (whiptail --title " Restart Required" --yesno " It is recommended that you restart your device now. Select yes to do so now" 20 78); then
196
230
sudo reboot
197
231
fi
198
232
;;
@@ -407,7 +441,7 @@ case $mainmenu_selection in
407
441
" tinker" " " \
408
442
3>&1 1>&2 2>&3 )
409
443
if [ -n " $hassio_machine " ]; then
410
- curl -sL https://raw.githubusercontent.com/home-assistant/hassio -installer/master/hassio_install .sh | sudo bash -s -- -m $hassio_machine
444
+ curl -sL https://raw.githubusercontent.com/home-assistant/supervised -installer/master/installer .sh | sudo bash -s -- -m $hassio_machine
411
445
else
412
446
echo " no selection"
413
447
exit
0 commit comments