Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2006 12:44:07 +1000
From:      Mikhail Goriachev <mikhailg@webanoide.org>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Anyone using sysutils/nut ?
Message-ID:  <447519F7.304@webanoide.org>
In-Reply-To: <200605250139.k4P1dNp0099848@vjofn.tucs-beachin-obx-house.com>
References:  <200605250139.k4P1dNp0099848@vjofn.tucs-beachin-obx-house.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Tuc at T-B-O-H wrote:
> 	The issue isn't with the upsmon or SHUTDOWNCMD... Its with the
> fact that /etc/killpower gets set, and somewhere you need to put 
> "upsdrvctl shutdown". Its during the "shutdown -p now" that at some point
> needs to be run, and if its run in /etc/rc.shutdown then the shutdown isn't
> finished and shutting it off at that point the filesystems are dirty.


Oh, I see the dilemma now. In my case my box powers off but the UPS
stays on till it drastically dies (if power is still unavailable).
You're trying to shutdown both the system and the UPS, aren't you? So
then they can automatically come back up again when power returns.


Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: mikhailg@webanoide.org
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?447519F7.304>