How do you control the shutdown?

If it is a simple logical signal, i.e. either high or low voltage, perhaps
the easiest way would be a hardware solution.

It could be as simple as a diode, a large capasitor and a resistor.

Your local electronic supplyer could probably build a delay circuit for a
few ? or £ ...

Leif

----- Original Message -----
From: "Cillian Sharkey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 19, 2000 6:00 PM
Subject: Post-shutdown hook for UPS shutdown?


> Hi Folks,
>
> I need to execute a script (which tells the UPS to turn off) *after* the
> system has come to a safe halt from shutdown -h. I can't place the
commands
> in /etc/rc.shutdown because this is too early in the shutdown sequence.
>
> Unfortunately, the UPS in question (APC Back-UPS 650) is not a "smart"
one,
> (i.e. it doesn't have an in-built delay when a shutdown signal is received
> which gives time for all attached devices to shutdown) and I'm pretty much
> stuck with it. The software is the Network UPS Tools (NUT) package.
>
> 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 ?
>
> Thanks in advance,
>
> --
> Cillian
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
>




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

Reply via email to