Skip to content

Commit

Permalink
🚑 Fix shutdown addon command (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
sinclairpaul authored Jun 26, 2024
1 parent af4c877 commit ddb77a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nut/rootfs/etc/cont-init.d/nut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ if bashio::config.equals 'mode' 'netserver' ;then
fi
fi

shutdowncmd="\"s6-svscanctl -t /var/run/s6/services\""
shutdowncmd="/run/s6/basedir/bin/halt"
if bashio::config.true 'shutdown_host'; then
bashio::log.warning "UPS Shutdown will shutdown the host"
shutdowncmd="/usr/bin/shutdownhost"
Expand Down

0 comments on commit ddb77a2

Please sign in to comment.