rcng: additional argument to run_rc_command

Mike Makonnen mtm at identd.net
Tue Jul 29 05:18:27 PDT 2003


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!


More information about the freebsd-current mailing list