Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2008 10:05:05 +0100
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        Giorgos Keramidas <keramida@ceid.upatras.gr>, KES <kes-kes@yandex.ru>
Subject:   Re: Startup scipt
Message-ID:  <200812171005.05911.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <87bpvdaqhq.fsf@kobe.laptop>
References:  <569944077.20081215235643@yandex.ru> <87bpvdaqhq.fsf@kobe.laptop>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812171005.05911.fbsd.questions>