[Pkg-sysvinit-devel] Bug#577146: Logic of halt script, with regard to ups-monitor, is wrong

Petter Reinholdtsen pere at hungry.com
Sun May 30 12:32:48 UTC 2010

[Regid Ichira]
> Suppose a user set HALT=poweroff in /etc/default/halt, and also set
> /etc/init.d/ups-monitor because he has a ups.  With the current halt
> script, won't the end result be that the ups will always be
> requested to cut the power?

Isn't that the expected behaviour?  Can you explain more?  I fail to
understand the problem and do not see why your patch improve anything.
I do not really know the ups-monitor interaction with the Debian
shutdown scripts, so I need smaller tea spoons. :)

Happy hacking,
Petter Reinholdtsen

More information about the Pkg-sysvinit-devel mailing list