[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Advice UPS and Shutdown



Hi All

Im installed NUT on my RH6.1.

everything work very well the system know if ups up or down and all
other details but its not get the shutdown command.

in the document it is written that i need to add to the shutdown script
the following lines:

if (test -f /etc/powerdown)
then
  echo "Killing the power, bye!"
  /usr/local/ups/bin/apcsmart -k /dev/ttyS0
fi

What file should i update under RH6.1 ? inittab ?
Im not really sure what to do, delete some part just paste the script or
what ever :-(
--
--------------------------
Canaan Surfing Ltd.
Internet Service Providers
Ben-Nes Michael - Manager
Tel: 972-6-6925757
Fax: 972-6-6925858
http://www.canaan.co.il
--------------------------



=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il