From owner-freebsd-hackers Thu Oct 5 06:37:03 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA08402 for hackers-outgoing; Thu, 5 Oct 1995 06:37:03 -0700 Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id GAA08397 for ; Thu, 5 Oct 1995 06:36:58 -0700 Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0t0qSm-0003vnC; Thu, 5 Oct 95 06:35 PDT Received: from localhost (localhost [127.0.0.1]) by critter.tfs.com (8.6.11/8.6.9) with SMTP id OAA00653; Thu, 5 Oct 1995 14:35:54 +0100 X-Authentication-Warning: critter.tfs.com: Host localhost didn't use HELO protocol To: Charles Owens cc: hackers@freefall.freebsd.org, msmith@atrad.adelaide.edu.au Subject: Re: Fiskars UPS support... In-reply-to: Your message of "Thu, 05 Oct 1995 09:18:28 -0400." Date: Thu, 05 Oct 1995 14:35:54 +0100 Message-ID: <651.812900154@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-hackers@FreeBSD.org Precedence: bulk > I know this isn't your priority, but it would be nice if this could be > devoloped in some sort of modular fashion, separating the control logic > from the UPS-specific interface code. I agree, the right thing is probably to define a interface somehow, but couldn't this be as simple as executing a command with explanatory args: /etc/ups/power_fail \ {first|another|last} \ $estimated_minutes_till_black -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. It will be some time yet before progress goes too far... (Poul Henningsen)