Startup scipt

Giorgos Keramidas keramida at ceid.upatras.gr
Wed Dec 17 03:17:47 PST 2008


On Wed, 17 Dec 2008 10:05:05 +0100, Mel <fbsd.questions at rachie.is-a-geek.net> wrote:
> On Tuesday 16 December 2008 01:54:57 Giorgos Keramidas wrote:
>
>> The second invocation uses another set of options from `rc.conf':
>>
>>     moused_ums0_enable
>>     moused_ums0_port
>>     moused_ums0_type
>>     moused_ums0_flags
>>
>> The support for these non-default options is implemented using a small
>> local hack in `src/etc/rc.d/moused':
>>
>> http://svn.freebsd.org/viewvc/base/head/etc/rc.d/moused?view=annotate#l24
>>
>> It would be great if you found some way to integrate this with the rest
>> of rc.d.  This way more scripts can support multiple instances of the
>> underlying service :)
>
> Better like jail is done. I like the fact that jail_list is what is
> started upon startup but you can have many more jail_foo
> defined. Removing one from the list will disable it on boot, but it is
> still enabled by itself, so that /etc/rc.d/jail start foo is still valid.

That's a fine idea :)



More information about the freebsd-questions mailing list