UPS shutdown with `sysutils/nut': where should I place "power off"
command to UPS?
lev at FreeBSD.org
Sun Jun 15 15:27:20 UTC 2008
nut's documentation says, that UPS should be switched off from
shutdown scripts in point, when FSes are synced and re-mounted as R/O.
google shows thread, according to which, last line of
`/etc/rc.shutdown' is too early, and if power will be switched off at
this line, FSes will be dirty on boot.
What is proper place for "power off" command on FreeBSD system?
Please, note, that it is NOT `shutdown -p', but signal to UPS to
switch off EXTERNAL power when battarey is almost dead, and no
external power, and `shutdown -p' turns off only computer, not UPS.
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>
More information about the freebsd-hackers