mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update 00-global_var.sh
This commit is contained in:
@@ -20,6 +20,7 @@ for KEYS in "${arr[@]}"; do
|
||||
# Export the variable to run scripts
|
||||
line="${KEYS}=${VALUE//[\"\']/} &>/dev/null"
|
||||
sed -i "1a export $line" /etc/services.d/*/*run* 2>/dev/null
|
||||
sed -i "1a export $line" /etc/cont-init.d/*run* 2>/dev/null
|
||||
done
|
||||
|
||||
################
|
||||
|
||||
Reference in New Issue
Block a user