On 7/27/11 4:07 AM, Martin Husemann wrote:
On Tue, Jul 26, 2011 at 10:43:27PM +0200, Jean-Yves Migeon wrote:Then this leaves the sysinst route.Let's define a set of archs where we enable it by default in sysinst (by writing powerd=YES to rc.conf). Let's also add a check to usr.sbin/postinstall to nag if on one of those args there is no explicit powerd= line in rc.conf and suggest to the user to enable it (or make the nagging stop by an explicit powerd=NO line).
Why then not hardcode all this logic in the powerd rc.d script so that this is all transparent?