Hi,<br><br>a second try since I've got new info on that point...<br>as you are interested in, I've taken a bit of time to study back these points.<br><br><div><span class="gmail_quote">2006/6/27, Carlos Rodrigues <<a href="mailto:carlos.efr@mail.telepac.pt">
carlos.efr@mail.telepac.pt</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi!<br><br>We have two MGE Evolution 1100 here, and I want to make use of the
<br>powershare outlets to force a particular boot sequence on the machines<br>powered by them. However I'm not sure how to set those variables upon<br>NUT starting, without having to change the init scripts to call<br>"upsrw".
<br><br>Is there some place where I can set them, where they can be read<br>automatically on startup?<br><br>One of the UPSes is connected to a SUSE box, and the other to a Debian box.<br></blockquote></div><br>there are two things:
<br>* in the MGE HID data, we have two kind of delay things:<br> - the *DelayBefore* which are timers and are to be considered as instant commands and not as settings as this is currently the case.<br> - then, the interesting point for you, we have *Timer (ShutdownTimer and StartupTimer) which are only available for outlets, and which are settings. This means that your needs would be addressed using this (once cabled on
outlet.X.delay.*).<br>This way, if you set outlet.1.delay.start to 20 (sec) and outlet.2.delay.start to 30, then when the power will come back, the UPS will restart, but outlet1 will be powered 20 sec after, and outlet2 30 sec after.
<br>I've not yet changed the data in mge-hid, but if you're interested in, I can make a testing change in trunk so that you can test it...<br clear="all"><br>Arnaud<br>-- <br>Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
<br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://people.debian.org/~aquette/">http://people.debian.org/~aquette/
</a><br>OpenSource Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a>