Update init scripts

This commit is contained in:
tsightler
2022-10-10 21:48:38 -04:00
parent 9dcfd35929
commit 46d82a4f57

View File

@@ -4,6 +4,9 @@
# s6-overlay docs: https://github.com/just-containers/s6-overlay
# ==============================================================================
echo $1
echo $2
if [[ "$1" -ne 0 ]] && [[ "$1" -ne 256 ]]; then
bashio::log.warning "A critical error was detected, exiting the container..."
exec /run/s6/basedir/bin/halt