mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-19 05:49:12 +02:00
Update and rename 00-aaa_global_var.sh to 00-global_var.sh
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
JSONSOURCE="/data/options.json"
|
JSONSOURCE="/data/options.json"
|
||||||
|
|
||||||
# Export keys as env variables
|
# Export keys as env variables
|
||||||
echo "All addon options were exported as variables"
|
# echo "All addon options were exported as variables"
|
||||||
mapfile -t arr < <(jq -r 'keys[]' ${JSONSOURCE})
|
mapfile -t arr < <(jq -r 'keys[]' ${JSONSOURCE})
|
||||||
for KEYS in ${arr[@]}; do
|
for KEYS in ${arr[@]}; do
|
||||||
# export key
|
# export key
|
||||||
Reference in New Issue
Block a user