I don't think it is appropriate to configure hibernate via apcupsd.conf.
There are dozens of different things users might want to do in response
to various events and this is why the event handling in Apcupsd is
entirely scriptable. If we were to try to anticipate every user's needs
in apcupsd.conf that file would quickly become unmanageable.

The correct way to implement the hibernate change you made is to create
a script named "doshutdown" and place it in the same directory as 
apccontrol. That script will be automatically called by apccontrol when
a doshutdown event ocurrs and you can perform any actions you want. 
Return with exit code 99 and apccontrol will skip the default action 
for that event so your script has complete control. This is all 
documented in comments in the apccontrol script and in the apcupsd user
manual.

--Adam



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to