From owner-freebsd-questions Sun Jun 16 9:12:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from server.rucus.ru.ac.za (server.rucus.ru.ac.za [146.231.115.1]) by hub.freebsd.org (Postfix) with SMTP id AD8DB37B437 for ; Sun, 16 Jun 2002 09:12:44 -0700 (PDT) Received: (qmail 94776 invoked from network); 16 Jun 2002 16:12:38 -0000 Received: from bashir.dsl.ru.ac.za (HELO rucus.ru.ac.za) (146.231.113.19) by server.rucus.ru.ac.za with SMTP; 16 Jun 2002 16:12:38 -0000 Message-ID: <3D0CB8F8.9000702@rucus.ru.ac.za> Date: Sun, 16 Jun 2002 18:12:40 +0200 From: =?ISO-8859-1?Q?David_Sieb=F6rger?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc1) Gecko/20020506 X-Accept-Language: en-za, en-gb, en-us, en MIME-Version: 1.0 To: jonlarssen@hotmail.com Cc: questions@freebsd.org Subject: Re: UPS scenario; HOWTO? References: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable 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 Jon Larssen wrote: > I'm adding a UPS to my FreeBSD server, and after reading docs and > such, I think I understand the process. But I have one question > regarding a far fetched scenario. Just imagine this: [snip] > This problem has a solution? Hack? Workaround? The way I've set it up, the UPS monitor issues a 'shutdown -p' when the battery is low. A local hack to rc.shutdown then instructs the UPS to turn itself off a few seconds later. So after power has been down for a while, the PC starts shutting down, tells the UPS to shutdown soon, and turns itself off. The UPS shuts down seconds afterwards and waits for power to be restored - it needn't even drain its battery. --=20 David Sieb=F6rger drs@rucus.ru.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message