Re: [Apcupsd-users] Disable UPS shutdown after the the system is powered down.
Brought to you by:
adk0212
|
From: Aravind B. <ara...@gm...> - 2010-02-23 05:15:53
|
Thanks that worked. I just commented out the killpower case in apccontrol.
Regards
On Sat, Feb 20, 2010 at 4:06 AM, apcupsd01.kj <
apc...@sa...> wrote:
> 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.
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Apcupsd-users mailing list
> Apc...@li...
> https://lists.sourceforge.net/lists/listinfo/apcupsd-users
>
|