33# get path of menu correct
44pushd ~ /IOTstack
55
6+ # This is the Display name for the menu
7+ # structure : [CONTAINER]=MENU Display Text
8+ # One entry per line to simplify PRs
69declare -A cont_array=(
710 [portainer]=" Portainer"
811 [portainer_agent]=" Portainer agent"
@@ -29,11 +32,42 @@ declare -A cont_array=(
2932 [diyhue]=" diyHue"
3033 [homebridge]=" Homebridge"
3134 [python]=" Python 3"
35+ [qbittorrent]=" qbittorrent"
36+ [zigbee2mqttassistant]=" zigbee2mqttassistant"
37+ )
3238
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"
3370)
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" )
3771
3872sys_arch=$( uname -m)
3973
@@ -192,7 +226,7 @@ case $mainmenu_selection in
192226 sudo apt install -y docker-compose
193227 fi
194228
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
196230 sudo reboot
197231 fi
198232 ;;
@@ -407,7 +441,7 @@ case $mainmenu_selection in
407441 " tinker" " " \
408442 3>&1 1>&2 2>&3 )
409443 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
411445 else
412446 echo " no selection"
413447 exit
0 commit comments