mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Echo por
This commit is contained in:
@@ -18,7 +18,7 @@ if ! bashio::supervisor.ping 2>/dev/null; then
|
||||
for scripts in /etc/cont-init.d/*; do
|
||||
sed -i -e 's/bashio::config.has_value[[:space:]]*["'"'"']\([^"'"'"']*\)["'"'"']/[ ! -z \${\1+x} ]/g' \
|
||||
-e 's/bashio::config[[:space:]]*["'"'"']\([^"'"'"']*\)["'"'"']/\${\1}/g' \
|
||||
-e 's/bashio::addon.port[[:space:]]*["'"'"']\([^"'"'"']*\)["'"'"']/\${\1}/g' \
|
||||
-e 's/bashio::addon.port[[:space:]]*["'"'"']\([^"'"'"']*\)["'"'"']/echo \1/g' \
|
||||
-e 's/bashio::services[[:space:]]*["'"'"']\([^"'"'"']*\)["'"'"']/\${\1}/g' \
|
||||
-e 's/bashio::addon.ip_address/\${IP_ADDRESS}/g' "$scripts" || true
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user