Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Oct 1995 14:35:54 +0100
From:      Poul-Henning Kamp <phk@critter.tfs.com>
To:        Charles Owens <owensc@enc.edu>
Cc:        hackers@freefall.freebsd.org, msmith@atrad.adelaide.edu.au
Subject:   Re: Fiskars UPS support... 
Message-ID:  <651.812900154@critter.tfs.com>
In-Reply-To: Your message of "Thu, 05 Oct 1995 09:18:28 -0400." <Pine.BSF.3.91.951005090952.16423G-100000@itsdsv1.enc.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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)



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