Protect the command flags set in the rc.conf files in case they're
more than one word, adding some quotes. Advice from: mtm (my first attempt wasn't quite right) Reviewed by: mtm MFC after: 3 days
This commit is contained in:
parent
3bedfb04b2
commit
0da56f8f1e
@ -19,5 +19,5 @@ name="routed"
|
||||
load_rc_config $name
|
||||
rcvar="router_enable"
|
||||
command="${router:-/sbin/${name}}"
|
||||
eval ${name}_flags=${router_flags}
|
||||
eval ${name}_flags=\"${router_flags}\"
|
||||
run_rc_command "$1"
|
||||
|
Loading…
Reference in New Issue
Block a user