On Thu, Sep 07, 2000 at 11:38:48AM +0100, Declan Grady wrote:
> 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 ?
If the APC software is a shell script, or a C program to which they give the
source, then you can modify that to talk to the RedHat box and tell it to
shut down (numerous ways of doing that) just before it initiates its own
shutdown. If you don't have the source, another option would be to do
the monitoring on the RedHat box (where of course you will have the source
of the monitoring tool - look for the UPS Howto) and have it tell the SCO
box to shut down.
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!