>From the keyboard of Jeremy Lea:

> Just an idea...
> 
> On Fri, May 19, 2000 at 05:00:26PM +0100, Cillian Sharkey wrote:
> > Basically, is there currently any way to execute a post-shutdown script once
> > the system has "halted" ? If not, is this feature possible to add ?
> 
> Why not let the machine reboot, and check the power before anything else
> in /etc/rc.

This is what i once did for a dumb UPS in FreeBSD 2.x and it worked quite
well. That package is still available on http://www.freebsd-support.de/misc
with all the scripts and driver if you might want to have a look at it.

hellmuth
-- 
Hellmuth Michaelis                                    Tel   +49 40 55 97 47-70
HCS Hanseatischer Computerservice GmbH                Fax   +49 40 55 97 47-77
Oldesloer Strasse 97-99                               Mail  hm [at] hcs.de
D-22457 Hamburg                                       WWW   http://www.hcs.de


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to