Re: [Apcupsd-users] Disable UPS shutdown after the the system is powered down.
Brought to you by:
adk0212
|
From: apcupsd01.kj <apc...@sa...> - 2010-02-19 22:36:17
|
Aravindan wrote, On 2/19/2010 12:45 PM:
> Hello All,
> First of all i would like to congratulate you for this great
> utility. I own a APC BACK UPS ES 650Y. I have been able to setup the
> apcupsd daemon. I would like to disable apcupsd from shutting down the
> UPS after it shuts down to system. This is required for me since i also
> run a few low powered utilities such as a cordless phone on the ups.
> Please let me know how to disable ups power down.
>
Here's a couple methods:
1. Edit apccontrol:
case "$1" in
killpower)
# echo "Apccontrol doing: ${APCUPSD} --killpower on UPS ${2}"
# sleep 10
# ${APCUPSD} --killpower
# echo "Apccontrol has done: ${APCUPSD} --killpower on UPS ${2}"
| ${WALL}
;;
Comment out those 4 lines (like above).
2. Edit your OS shutdown script preventing it from running apccontrol
killpower. You didn't specify an OS/distro so can't say for sure which
file to edit (none if Windows).
3. ??? (there might be an option to disable killpower by
reconfiguring/recompiling apcupsd)
Running Windows? Then nothing needs to be done, apcupsd won't shutdown
(killpower) the UPS by default.
|