rc.d scripts with multiple arguments
Tobias Roth
roth at iam.unibe.ch
Wed Jan 26 06:46:40 PST 2005
Hi
I have an rc.d/ scripts in the works that would benefit from a second
argument, eg /etc/rc.d/myscript start foobar
As it looks, this is not possible with the current mechanism of
run_rc_command(). So my questions:
1) is there already a corrct way to do this?
2) would it make sense of not using run_rc_command() and doing the
argument handling in the script itself, therefore allowing multiple
arguments? or would this be a stupid idea and against the design of
rcng?
I can live without this, but if it's somehow possible, it would be nice.
Also, if this would theoretically make sense, but rcng doesn't allow it
yet, I might have go at improving rcng in this direction.
thanks, t.
More information about the freebsd-rc
mailing list