Update 00-global_var.sh

This commit is contained in:
Alexandre
2022-01-14 18:52:17 +01:00
committed by GitHub
parent 89d644be6c
commit 0c831bc134

View File

@@ -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
################