Date: Tue, 29 Jul 2003 08:18:23 -0400 From: Mike Makonnen <mtm@identd.net> To: Tobias Roth <roth@iam.unibe.ch> Cc: current@freebsd.org Subject: Re: rcng: additional argument to run_rc_command Message-ID: <20030729121822.GA92876@kokeb.ambesa.net> In-Reply-To: <20030729111351.GA6475@speedy.unibe.ch> References: <20030729111351.GA6475@speedy.unibe.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 29, 2003 at 01:13:51PM +0200, Tobias Roth wrote: > is it possible to give an extra argument to an $extra_commands > command? the usual call to run_rc_command > > run_rc_command "$1" > > suggests otherwise, as $1 already is the name of the command to > be executed (start, stop, etc). > > would this be possible/a good idea to implement? > I very much doubt it. If you want to use multiple arguments just special case it in the script itself (i.e - rc.d/netif). Cheers. -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc mtm@identd.net | D228 1A6F C64E 120A A1C9 A3AA DAE1 E2AF DBCC 68B9 mtm@FreeBSD.Org| FreeBSD - Unleash the Daemon!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030729121822.GA92876>