mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
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
45d5e85a40
commit
11980247d9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134487
@ -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