dhcp executor: Pass correct arguments to dhclient
They are opt-args, not pop-tarts.
This commit is contained in:
parent
31bc5c3b10
commit
b9d6c190e4
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ start() {
|
|||
optargs="$optargs -cf $IF_DHCP_CONFIG"
|
||||
fi
|
||||
|
||||
${MOCK} /usr/sbin/dhclient -pf /var/run/dhclient.$IFACE.pid $optarts $IFACE
|
||||
${MOCK} /usr/sbin/dhclient -pf /var/run/dhclient.$IFACE.pid $optargs $IFACE
|
||||
;;
|
||||
udhcpc)
|
||||
optargs=$(eval echo $IF_UDHCPC_OPTS)
|
||||
|
|
Loading…
Reference in a new issue