Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 2000 10:32:36 +0200 (METDST)
From:      hm@hcs.de (Hellmuth Michaelis)
To:        reg@FreeBSD.ORG (Jeremy Lea)
Cc:        cns@psn.ie, hackers@FreeBSD.ORG
Subject:   Re: Post-shutdown hook for UPS shutdown?
Message-ID:  <20000520083236.129E43F4@hcswork.hcs.de>
In-Reply-To: <20000519104048.A12491@shale.csir.co.za> from Jeremy Lea at "May 19, 0 10:40:48 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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