apcupsd and 'shutdown -p'

Rishi Chopra rchopra at cal.berkeley.edu
Tue Apr 20 11:39:10 PDT 2004


I'd like apcupsd to call 'shutdown -p' when halting the system. 
Currently the daemon works OK but allows for a race condition (e.g. 
battery is not dead but power is restored, leaving the system waiting 
for a key to be pressed)...

Anyone have any ideas on how to accomplish this?

-- 
Rishi Chopra
http://www.ocf.berkeley.edu/~rchopra


More information about the freebsd-questions mailing list