Re[2]: UPS shutdown with `sysutils/nut': where should I place "power off" command to UPS?

2008-06-15 Thread Lev Serebryakov
Hello, Erik. You wrote 15 июня 2008 г., 20:22:47: > You need an UPS that can accept a signal that says 'shut down in 20 seconds > time' (the value 20 may have to be adjusted) and send that as the last thing > in the shutdown scripts, which should cause the UPS to shutdown shortly > after 'shutdow

Re: UPS shutdown with `sysutils/nut': where should I place "power off" command to UPS?

2008-06-15 Thread Erik Trulsson
On Sun, Jun 15, 2008 at 07:08:10PM +0400, Lev Serebryakov wrote: > Hello, freebsd-hackers. > > nut's documentation says[1], that UPS should be switched off from > shutdown scripts in point, when FSes are synced and re-mounted as R/O. Problem is, on FreeBSD the FSes are not re-mounted as R/O dur

UPS shutdown with `sysutils/nut': where should I place "power off" command to UPS?

2008-06-15 Thread Lev Serebryakov
Hello, freebsd-hackers. nut's documentation says[1], that UPS should be switched off from shutdown scripts in point, when FSes are synced and re-mounted as R/O. google shows thread[2], according to which, last line of `/etc/rc.shutdown' is too early, and if power will be switched off at this