tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Making powerd=YES default



On 25.07.2011 21:17, Martin Husemann wrote:
> On Mon, Jul 25, 2011 at 09:01:47PM +0200, Jean-Yves Migeon wrote:
>> There, /etc/powerd/scripts would rather be:
>>
>> /etc/powerd/scripts/default/*
>> /etc/powerd/scripts/acpi/*
>> /etc/powerd/scripts/xen/*
>> /etc/powerd/scripts/<power_type>/*
>> [...]
> 
> Unless you plan to share /etc/powerd/scripts between different machines, I
> don't see what such subdirectories would buy you.

I didn't chose this; it's already hardcoded in powerd(8).

http://nxr.netbsd.org/xref/src/usr.sbin/powerd/powerd.c#146

-- 
Jean-Yves Migeon
jeanyves.migeon%free.fr@localhost


Home | Main Index | Thread Index | Old Index