From owner-freebsd-questions@FreeBSD.ORG Wed Dec 17 11:17:47 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 43A32106564A for ; Wed, 17 Dec 2008 11:17:47 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id B16878FC17 for ; Wed, 17 Dec 2008 11:17:46 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl115-32.kln.forthnet.gr [77.49.234.32]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id mBHBHVMV030286 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 17 Dec 2008 13:17:37 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id mBHBHUm9054720; Wed, 17 Dec 2008 13:17:30 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id mBHBHSEx054719; Wed, 17 Dec 2008 13:17:28 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Mel In-Reply-To: <200812171005.05911.fbsd.questions@rachie.is-a-geek.net> (Mel's message of "Wed, 17 Dec 2008 10:05:05 +0100") Date: Wed, 17 Dec 2008 13:01:38 +0200 Message-ID: <87iqpjhxpp.fsf@kobe.laptop> References: <569944077.20081215235643@yandex.ru> <87bpvdaqhq.fsf@kobe.laptop> <200812171005.05911.fbsd.questions@rachie.is-a-geek.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: mBHBHVMV030286 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.86, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.54, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: KES , freebsd-questions@freebsd.org 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 11:17:47 -0000 On Wed, 17 Dec 2008 10:05:05 +0100, Mel 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 :)