Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2008 08:16:31 -0700
From:      Nate Lawson <nate@root.org>
To:        Peter Jeremy <peterjeremy@optushome.com.au>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: powerd, please test patch
Message-ID:  <48AAE3CF.50405@root.org>
In-Reply-To: <20080819073709.GU32539@server.vk2pj.dyndns.org>
References:  <48AA2F87.8060506@pacific.net.sg> <20080819073709.GU32539@server.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Jeremy wrote:
> On 2008-Aug-19 10:27:19 +0800, Erich Dollansky <oceanare@pacific.net.sg> wrote:
>> I am using powerd on a notebook. Stopping powerd left the CPU running in 
>> the last mode it was in.
>>
>> This patch extents powerd's command line by the parameter '-e' to set 
>> the exit mode.
> 
> Can you please submit a PR with your patches as context or unified diffs.
> 
>> This patch is for FreeBSD 6.3 updated beginning of the month.
> 
> Without either context or exact file revisions, your patch cannot be
> safely applied.

Instead of setting an exit mode with a new -e flag, why not just save
the original value when powerd starts and restore it on exit?

-- 
Nate



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