netifd: quote vendorid and hostname variables in dhcp script
Quote hostname and vendorid variables in dhcp script so they can hold strings having white spaces Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
This commit is contained in:
parent
cef1f4ef2b
commit
99e5bec2c6
@ -56,8 +56,8 @@ proto_dhcp_setup() {
|
||||
-s /lib/netifd/dhcp.script \
|
||||
-f -t 0 -i "$iface" \
|
||||
${ipaddr:+-r $ipaddr} \
|
||||
${hostname:+-H $hostname} \
|
||||
${vendorid:+-V $vendorid} \
|
||||
${hostname:+-H "$hostname"} \
|
||||
${vendorid:+-V "$vendorid"} \
|
||||
$clientid $broadcast $release $dhcpopts
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user