Re: [Nut-upsuser] Powerdown on FreeBSD

2006-08-26 Thread Daniel O'Connor
On Friday 25 August 2006 19:23, Johan Pramming wrote: > True, thanks for pointing out my shell scripting skills :D Heh :) > >I have ondelay = 13 and offdelay = 120 in my ups.conf (MGE Pulsar EX) so > >the > >system gets 2 minutes to shut down gracefully. > > Much better solution, I think that is

Re: [Nut-upsuser] Powerdown on FreeBSD

2006-08-25 Thread Johan Pramming
Hi Daniel, Thanks for your answer. >>On Thursday 17 August 2006 21:52, Johan Pramming wrote: >> I have added the following to /etc/rc.shutdown: >> >> if (test -f /etc/killpower) >Isn't this csh scripting..? (and rc.shutdown is sh) True, thanks for pointing out my shell scripting skills :D >Any

Re: [Nut-upsuser] Powerdown on FreeBSD

2006-08-17 Thread Daniel O'Connor
On Thursday 17 August 2006 21:52, Johan Pramming wrote: > I have added the following to /etc/rc.shutdown: > if (test -f /etc/killpower) Isn't this csh scripting..? (and rc.shutdown is sh) Anyway.. I modified /usr/local/etc/rc.d/nut.sh to check for /etc/killpower by modifying the poststop functi

[Nut-upsuser] Powerdown on FreeBSD

2006-08-17 Thread Johan Pramming
Hi all,   I just bought a Trust 1000VA PW-4105 UPS. I installed the UPS on FreeBSD 6.1, and installed NUT 2.0.3 via the FreeBSD port. I had no problems installing and configuring nut and the UPS to run with the PowerMust driver. My problem however is when I test the powerdown function