mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-20 07:41:48 +02:00
Update 99-run.sh
This commit is contained in:
@@ -72,7 +72,7 @@ do
|
|||||||
# Check if secret
|
# Check if secret
|
||||||
if [[ "${line}" == *'!secret '* ]]; then
|
if [[ "${line}" == *'!secret '* ]]; then
|
||||||
secret=${line#*secret }
|
secret=${line#*secret }
|
||||||
secret=$(sed "/$secret/\!d" /config/secrets.yaml)
|
secret=$(sed "/$secret/"\!"d" /config/secrets.yaml)
|
||||||
secret=${secret#*: }
|
secret=${secret#*: }
|
||||||
line="${line%%=*}=$secret"
|
line="${line%%=*}=$secret"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user