powerd, please test patch

Nate Lawson nate at root.org
Tue Aug 19 15:16:34 UTC 2008


Peter Jeremy wrote:
> On 2008-Aug-19 10:27:19 +0800, Erich Dollansky <oceanare at 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


More information about the freebsd-acpi mailing list