On Thu, Sep 07, 2000 at 11:38:48AM +0100 or so it is rumoured hereabouts,
Declan Grady thought:
> Mabye a bit off-topic...
> I have an APC smart-ups which talks to a SCO box, and does auto-shutdown
> after a certain length of time on battery.
>> I also have a redhat box on the same ups, but no communication with the
> ups.. How could I get it to do an orderly poweroff as well ? .. Is there
> some way I can get the SCO box to tell it to poweroff ?
One obvious way is to have the SCO box email root at redhat.box with a
suitable subject. Have redhat root's .procmail fire off a shutdown script
on receipt of one of these messages.
You'd need to do some accounting for the time it takes for an email to get
delivered and acted upon though. Maybe have some kind of "Hold on, I
didn't mean that!" escape available also.
Conor Daly <conor.daly at oceanfree.net>
Domestic Sysadmin :-)
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!