Update ha_entrypoint_modif.sh

This commit is contained in:
Alexandre
2024-01-15 21:05:21 +01:00
committed by GitHub
parent 6fa88d8c8d
commit 0eb10264dd

View File

@@ -47,6 +47,7 @@ done
# Define shebang
sed -i "s|/command/with-contenv bashio|$shebang|g" /ha_entrypoint.sh
# Avoid log_level interference
# Avoid interference with LOG_LEVEL used in the app
sed -i 's|{LOG_LEVEL:|{8:|g' /usr/lib/bashio/bashio.sh
if [ -f /usr/lib/bashio/bashio.sh ]; then
sed -i 's|{LOG_LEVEL:|{8:|g' /usr/lib/bashio/bashio.sh
fi