mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update 00-banner.sh
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
# shellcheck shell=bash ignore=SC2016
|
# shellcheck shell=bash disable=SC2016
|
||||||
set -e
|
set -e
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Displays a simple add-on banner on startup
|
# Displays a simple add-on banner on startup
|
||||||
@@ -22,7 +22,7 @@ if ! bashio::supervisor.ping 2>/dev/null; then
|
|||||||
-e 's/\$(bashio::addon.port[[:space:]]*["'"'"']\([0-9]*\)["'"'"'])/${\1:-}/g' \
|
-e 's/\$(bashio::addon.port[[:space:]]*["'"'"']\([0-9]*\)["'"'"'])/${\1:-}/g' \
|
||||||
-e 's/bashio::config.require.ssl/true/g' \
|
-e 's/bashio::config.require.ssl/true/g' \
|
||||||
-e 's/\$(bashio::addon.ingress_port)/""/g' \
|
-e 's/\$(bashio::addon.ingress_port)/""/g' \
|
||||||
-e 's/\$(bashio::addon.ip_address)/""/g' || true
|
-e 's/\$(bashio::addon.ip_address)/""/g' "$scripts"
|
||||||
done
|
done
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user