Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2004 11:39:08 -0700
From:      Rishi Chopra <rchopra@cal.berkeley.edu>
To:        questions@freebsd.org
Subject:   apcupsd and 'shutdown -p'
Message-ID:  <40856E4C.7020300@cal.berkeley.edu>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40856E4C.7020300>