From owner-freebsd-questions Fri Sep 27 7:56:16 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8926237B401 for ; Fri, 27 Sep 2002 07:56:15 -0700 (PDT) Received: from posti.pp.htv.fi (posti.pp.htv.fi [212.90.64.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75C5043E3B for ; Fri, 27 Sep 2002 07:56:14 -0700 (PDT) (envelope-from Petri.Riihikallio@Metis.fi) Received: from [192.168.0.2] ([212.90.71.47]) by posti.pp.htv.fi (8.11.1/8.11.1) with ESMTP id g8REtrU20441; Fri, 27 Sep 2002 17:55:54 +0300 (EETDST) Mime-Version: 1.0 X-Sender: metis@pop.clinet.fi Message-Id: In-Reply-To: <3.0.5.32.20020927092434.01026638@mail.sage-one.net> References: <3.0.5.32.20020926155418.01026638@mail.sage-one.net> <3.0.5.32.20020926124221.01026638@mail.sage-one.net> <3.0.5.32.20020926103911.01026638@mail.sage-one.net> <3.0.5.32.20020926103911.01026638@mail.sage-one.net> <3.0.5.32.20020926124221.01026638@mail.sage-one.net> <3.0.5.32.20020926155418.01026638@mail.sage-one.net> <3.0.5.32.20020927092434.01026638@mail.sage-one.net> Date: Fri, 27 Sep 2002 17:55:52 +0300 To: "Jack L. Stone" , questions@FreeBSD.ORG From: Petri Riihikallio Subject: Re: How to shut down cleanly by killing power Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >===> What happens if power returns AFTER this final decision, but BEFORE >the system is actually shut down? The time frame can be over a minute.<=== > >Interesting! This is the most I can recall being discussed about UPS for >the past year. Glad we are doing it, but I still don't see the problem >here. Once the script turns over to the "shutdown -p now", doesn't apcupsd >exit (along with the other shutdowns) and stop monitoring..??? Yes, apcupsd gets killed and the system is powered down (-p) or halted (-h). But if the AC power is restored _before_ the UPS is exhausted, there is no power cycle, and the computer won't boot without operator assistance. This is the situation I am trying to avoid. -- Cheers, Petri Metis / Petri Riihikallio GSM: +358 400 505 939 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message