Re: rcng: additional argument to run_rc_command

From: Mike Makonnen <mtm_at_identd.net>
Date: Tue, 29 Jul 2003 08:18:23 -0400
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_at_identd.net | D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9
mtm_at_FreeBSD.Org| FreeBSD - Unleash the Daemon!
Received on Tue Jul 29 2003 - 03:18:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:16 UTC