conf/163508: [rc.subr] [patch] Add " enable" and " disable" commands to rc.subr

Garrett Cooper yanegomi at gmail.com
Sat Dec 24 18:53:11 UTC 2011


On Sat, Dec 24, 2011 at 9:51 AM, Warner Losh <imp at bsdimp.com> wrote:
>
> On Dec 24, 2011, at 10:29 AM, Maxim Ignatenko wrote:
>
>>>  If the 5% of cases are when someone has done something complicated to the rc.conf file, then I don't care: they won't use this interface and we can detect this case and do nothing.
>>
>> Now I don't see how to distinguish cases when ${rcvar} set to default
>> value in rc-script and when it's set in other file in some not obvious
>> way.
>
> What does that matter?

    This is annoying (like samba) because it's a broken script s.t. I
can't issue forcestop and expect it to stop properly in all cases.
Thanks,
-Garrett


More information about the freebsd-rc mailing list