>Have you looked at the script I'm referring to...?? It's the one provided
>by apccontrol as I recall which contains several "shutdown -h" commands
>which can be stopped and go back to business if the power returns because
>apcupsd checks to see if the power is back before it runs the shutdown part
>of the script.

Yes, I have looked through the apcupsd package. Thank you for 
pointing it out. It is very similar to NUT, but only for APC devices 
(as the name implies :-)

Have you looked at apcupsd-3.8.5/distributions/suse/halt.in ? It does 
to SuSe what I would like to with FreeBSD. The README in 
distributions directory recommends SuSe as the best implementation.

>The "shutdown -p" is only run as the final decision by apcupsd to shut down
>the machine.

What happens if power returns AFTER this final decision, but BEFORE 
the system is actually shut down? The time frame can be over a minute.
-- 
Cheers,
Petri

Metis / Petri Riihikallio
GSM: +358 400 505 939

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

Reply via email to