mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-30 09:31:44 +00:00
Update 00-global_var.sh
This commit is contained in:
1 parent
89d644be6c
commit
0c831bc134
1 file changed
+1
@@ -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