You'd like have to hack the kernel. There are hooks in the kernel to execute very late in the game. I even think there is one to do things just before halt that you could use to power things off completely. If this is a UPS, and the signal is several serial characters, you'd have to poll the serial port rather than using interrupts (and you should disable interrupts just in case). Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- Post-shutdown hook for UPS shutdown? Cillian Sharkey
- Re: Post-shutdown hook for UPS shutdown? Doug White
- Re: Post-shutdown hook for UPS shutdown? Cillian Sharkey
- Re: Post-shutdown hook for UPS shutdown? Mike Smith
- Re: Post-shutdown hook for UPS shutdow... Nick Sayer
- Re: Post-shutdown hook for UPS shutdown? Warner Losh
- Re: Post-shutdown hook for UPS shutdown? Warner Losh
- Re: Post-shutdown hook for UPS shutdown? Daniel O'Connor
- Re: Post-shutdown hook for UPS shutdown? Jeremy Lea
- Re: Post-shutdown hook for UPS shutdown? Hellmuth Michaelis
- Re: Post-shutdown hook for UPS shutdown? Leif Neland
- Re: Post-shutdown hook for UPS shutdown? Cillian Sharkey

