mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Update 00-banner.sh
This commit is contained in:
@@ -22,10 +22,6 @@ if ! bashio::supervisor.ping 2>/dev/null; then
|
|||||||
-e 's/bashio::services[[:space:]]*["'"'"']\([^"'"'"']*\)["'"'"']/\${\1}/g' \
|
-e 's/bashio::services[[:space:]]*["'"'"']\([^"'"'"']*\)["'"'"']/\${\1}/g' \
|
||||||
-e 's/bashio::addon.ip_address/\${IP_ADDRESS}/g' "$scripts" || true
|
-e 's/bashio::addon.ip_address/\${IP_ADDRESS}/g' "$scripts" || true
|
||||||
done
|
done
|
||||||
# Fake options.json
|
|
||||||
echo "... create empty /data/options.json for bashio compatibility"
|
|
||||||
mkdir -p /data
|
|
||||||
touch /data/option.json
|
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user