From owner-freebsd-hackers Sat May 20 11: 0:17 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mailhub.psn.ie (mailhub.psn.ie [194.106.150.254]) by hub.freebsd.org (Postfix) with ESMTP id B015A37B5E7 for ; Sat, 20 May 2000 11:00:08 -0700 (PDT) (envelope-from cns@psn.ie) Received: from alto ([192.168.0.254] helo=alto.internal) by mailhub.psn.ie with esmtp (Exim 3.12 #2) id 12tDGd-000FNl-00 for hackers@freebsd.org; Sat, 20 May 2000 18:42:27 +0100 Received: from cns by alto.internal with local (Exim 3.12 #1) id 12tDGd-0008rU-00 for hackers@freebsd.org; Sat, 20 May 2000 18:42:27 +0100 Date: Sat, 20 May 2000 18:42:27 +0100 From: Cillian Sharkey To: hackers@freebsd.org Subject: Re: Post-shutdown hook for UPS shutdown? Message-ID: <20000520184227.A34044@psn.ie> References: <20000519170026.A29241@psn.ie> <013501bfc221$2e6a7020$0e00a8c0@neland.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0i In-Reply-To: <013501bfc221$2e6a7020$0e00a8c0@neland.dk>; from leifn@neland.dk on Sat, May 20, 2000 at 08:02:46AM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > How do you control the shutdown? > > If it is a simple logical signal, i.e. either high or low voltage, perhaps > the easiest way would be a hardware solution. > > It could be as simple as a diode, a large capasitor and a resistor. > > Your local electronic supplyer could probably build a delay circuit for a > few ? or £ ... Hmm, I hadn't considered a hardware solution. But I think I'll try the [slightly easier] software method suggested by a few of the others first, i.e. reboot rather than shutdown and use /etc/rc to manage the situiation from there. Thanks to all who replied! I'll probably report back on my progress later. -- Cillian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message