Update init scripts

This commit is contained in:
tsightler
2022-10-10 21:34:08 -04:00
parent ba80d4b910
commit 5b10a4cb51
2 changed files with 5 additions and 0 deletions

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 "The ring-mqtt container is shutting down..."
exec /run/s6/basedir/bin/halt