Skip to content

Commit 9a308a7

Browse files
authored
Updated menu.sh to simplify PR merging
1 parent 6676ed0 commit 9a308a7

File tree

1 file changed

+35
-3
lines changed

1 file changed

+35
-3
lines changed

menu.sh

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
#get path of menu correct
44
pushd ~/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
69
declare -A cont_array=(
710
[portainer]="Portainer"
811
[nodered]="Node-RED"
@@ -31,9 +34,38 @@ declare -A cont_array=(
3134
[qbittorrent]="qbittorrent"
3235
[zigbee2mqttassistant]="zigbee2mqttassistant"
3336
)
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" "zigbee2mqttassistant" "qbittorrent")
37+
38+
#The convension for CONTAINER is that it is the name of the .templates/CONTAINER directory and as the key below for the relevant arch
39+
40+
# keys for CONTAINER
41+
# One per line to simply PR
42+
declare -a armhf_keys=(
43+
"portainer"
44+
"nodered"
45+
"influxdb"
46+
"grafana"
47+
"mosquitto"
48+
"telegraf"
49+
"mariadb"
50+
"postgres"
51+
"adminer"
52+
"openhab"
53+
"zigbee2mqtt"
54+
"pihole"
55+
"plex"
56+
"tasmoadmin"
57+
"rtl_433"
58+
"espruinohub"
59+
"motioneye"
60+
"webthings_gateway"
61+
"blynk_server"
62+
"nextcloud"
63+
"diyhue"
64+
"homebridge"
65+
"python"
66+
"zigbee2mqttassistant"
67+
"qbittorrent"
68+
)
3769

3870
sys_arch=$(uname -m)
3971

0 commit comments

Comments
 (0)