Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2000 10:40:48 -0700
From:      Jeremy Lea <reg@FreeBSD.ORG>
To:        Cillian Sharkey <cns@psn.ie>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Post-shutdown hook for UPS shutdown?
Message-ID:  <20000519104048.A12491@shale.csir.co.za>
In-Reply-To: <20000519170026.A29241@psn.ie>; from cns@psn.ie on Fri, May 19, 2000 at 05:00:26PM %2B0100
References:  <20000519170026.A29241@psn.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

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.  If it's bad, just signal the UPS, and let the system power
down.  The disks should still be unmounted, etc.

Regards,
 -Jeremy

-- 
FreeBSD - Because the best things in life are free...
                                           http://www.freebsd.org/


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?20000519104048.A12491>