[Nut-upsuser] How do I initiate a shutdown sequence immediately after losing line power?

Stoycho Ganev stoycho at ganev.org
Thu Feb 13 15:22:52 UTC 2014



Is there a way to tell upsd to initiate a shutdown sequence (i.e. run
SHUTDOWNCMD) immediately after losing line power and switching the state
to OB? 

I'm using an old battery and by the time it reaches LB state, it's
already too late for a clean shutdown. 

Another solution would be to change the LB percentage. It currently
reads (upsc): 

battery.charge.low: 10 

Is there a way to raise that to, say, 40 or 50 percent? 

The goal is to initiate she shutdown procedure as soon after losing line
power as possible. 



- - - - -
Stoycho Ganev
Linux Administrator


16 Ivan Vazov st., fl.4
Sofia 1000
UIC: 131409398
tel: (+359 2) 921 08 50
fax: (+359 2) 987 91 31

s.ganev at datamax.bg
https://www.epay.bg [1]

Please do not print this e-mail unless you really need to!

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden. 

[1] https://www.epay.bg/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20140213/668151c4/attachment.html>

More information about the Nut-upsuser mailing list