Startup scipt

Mel fbsd.questions at rachie.is-a-geek.net
Wed Dec 17 01:05:08 PST 2008


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.

-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.


More information about the freebsd-questions mailing list