2012/9/7 Fabio Cecamore <ceca...@hotmail.com>

> I've done what you said but now..
>
> root@ProLiant:/home/fabio# upsrw -u admin -p mypass -s
> ups.delay.shutdown=180 ups
> Unexpected response from upsd: ERR READONLY
> root@ProLiant:/home/fabio#
>
> I hope this not mean this variable is readonly..
>

hem Fabio, I'm sure you're actually kiding with your comment ;)
To get the list of variables that can be set, use "upsrw <ups name>".
You will see that ups.delay.shutdown is not present.

What you probably want is to configure the delay before powering off the
UPS, at the end of the shutdown sequence.
Just use "offdelay = <value>" in ups.conf, as described in the blazer
manpage:
http://www.networkupstools.org/docs/man/blazer.html

cheers,
Arnaud
-- 
Linux / Unix / Opensource Engineering Expert - Eaton -
http://opensource.eaton.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.fr
_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to