mirror of
https://github.com/tsightler/ring-mqtt.git
synced 2025-09-26 21:01:12 +08:00
Update init scripts
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user