[Pkg-sysvinit-devel] Bug#717488: Please always launch /etc/init.d/ups-monitor when halting the system
Roger Leigh
rleigh at codelibre.net
Sun Jul 21 21:26:54 UTC 2013
On Sun, Jul 21, 2013 at 01:23:28PM +0200, Fabien C. wrote:
> please launch "/etc/init.d/ups-monitor poweroff" everytime /etc/init.d/halt is
> called, not only when INIT_HALT=POWEROFF.
>
> The current script forbids that behavior because if INIT_HALT is not equal to
> POWEROFF, which is "unfortunately" the case with "shutdown -Hh", then
> /etc/init.d/ups-monitor is *never* called.
While this change sounds reasonable, I'm not personally aware of the
reason for the current logic. Is changing this going to break
anything? Why is it currently the way it is?
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
More information about the Pkg-sysvinit-devel
mailing list