From ddb77a20b735db9a52c7cc50b7bcaf543db006ce Mon Sep 17 00:00:00 2001 From: Paul Sinclair <24625998+sinclairpaul@users.noreply.github.com> Date: Tue, 25 Jun 2024 20:34:31 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20Fix=20shutdown=20addon=20command?= =?UTF-8?q?=20(#369)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nut/rootfs/etc/cont-init.d/nut.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nut/rootfs/etc/cont-init.d/nut.sh b/nut/rootfs/etc/cont-init.d/nut.sh index 775d5bd..f916465 100755 --- a/nut/rootfs/etc/cont-init.d/nut.sh +++ b/nut/rootfs/etc/cont-init.d/nut.sh @@ -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"