tech-userlevel archive

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

Re: Making powerd=YES default

> Now how the script is expected to know that "powerd=NO" came from
> /etc/rc.conf, and not /etc/defaults/rc.conf?

I've seen the mailer variables handle this through setting the variable
to "check" and then seeing if it's still set that way later.  See
rc.d/postfix in 4.0.1 (possibly other versions too; 4.0.1 is the one I
checked).  Perhaps that could be adapted?

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML      
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Home | Main Index | Thread Index | Old Index