From owner-freebsd-questions@FreeBSD.ORG Wed Dec 17 09:05:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F07D1065672 for ; Wed, 17 Dec 2008 09:05:08 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 2A0618FC08 for ; Wed, 17 Dec 2008 09:05:08 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 33623AFBC02; Wed, 17 Dec 2008 00:05:07 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Wed, 17 Dec 2008 10:05:05 +0100 User-Agent: KMail/1.9.7 References: <569944077.20081215235643@yandex.ru> <87bpvdaqhq.fsf@kobe.laptop> In-Reply-To: <87bpvdaqhq.fsf@kobe.laptop> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812171005.05911.fbsd.questions@rachie.is-a-geek.net> Cc: Giorgos Keramidas , KES Subject: Re: Startup scipt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2008 09:05:08 -0000 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.