[Nut-upsdev] How to cause a local system shutdown...

Charles Lepple clepple at gmail.com
Wed Feb 15 00:45:30 UTC 2012


On Feb 14, 2012, at 12:31 PM, William R. Elliot wrote:

> Hi Charles.  Since I'm only working on the driver and not a client I'm not sure what to glean from FSD.  I may have to give the OB LB thing a try to see how it works.  Perhaps I can make this config dependant so that it can be enabled or disabled based on user preference.


From the driver, instead of status_set("OB") and status_set("LB"), you could send status_set("FSD").

This would go between status_init() and status_commit().

-- 
Charles Lepple
clepple at gmail



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20120214/96a7a882/attachment.html>


More information about the Nut-upsdev mailing list