tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rc.subr: Passing extra arguments to run_rc_command

Julio Merino wrote:
> The run_rc_command function from rc.subr(8) only allows giving it a
> command name, and this command name cannot take any extra arguments.

ISTM the accepted way to pass arguments to rc.subr would be via the
environment.  You get named parameters, as many and as flexible as you
could want, with no changes to the rc infrastructure.  

I like the simplicity of the no-argument policy.  


Home | Main Index | Thread Index | Old Index