[Pkg-sysvinit-devel] Bug#717488: Please always launch /etc/init.d/ups-monitor when halting the system
Fabien C.
9lefq1taz2n9shj at jetable.org
Sun Jul 21 22:08:52 UTC 2013
Well, I don't know. I guess it just wasn't logic enough to call ups-monitor
with the "poweroff" argument when the system INIT_HALT is not set to poweroff
itself...
Let's ask Arnaud and Laurent (nut maintainers) if they have more information on
the matter (cc).
Regards,
Fabien C.
On 21/07/2013 23:26, Roger Leigh wrote:
> 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
>
More information about the Pkg-sysvinit-devel
mailing list