dhcp executor: add support for udhcpc-opts property
This commit is contained in:
parent
4b32a0787d
commit
2d7668bc01
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@ start() {
|
||||||
${MOCK} /usr/sbin/dhclient -pf /var/run/dhclient.$IFACE.pid $IFACE
|
${MOCK} /usr/sbin/dhclient -pf /var/run/dhclient.$IFACE.pid $IFACE
|
||||||
;;
|
;;
|
||||||
udhcpc)
|
udhcpc)
|
||||||
${MOCK} /sbin/udhcpc -b -R -p /var/run/udhcpc.$IFACE.pid -i $IFACE
|
UDHCPC_OPTS=$(eval echo $IF_UDHCPC_OPTS)
|
||||||
|
${MOCK} /sbin/udhcpc -b -R -p /var/run/udhcpc.$IFACE.pid -i $IFACE $UDHCPC_OPTS
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue