done
[ "$broadcast" = 1 ] && broadcast="-B" || broadcast=
done
[ "$broadcast" = 1 ] && broadcast="-B" || broadcast=
+ [ -n "$clientid" ] && clientid="-x 0x3d:${clientid//:/}" || clientid="-C"
proto_export "INTERFACE=$config"
proto_run_command "$config" udhcpc \
proto_export "INTERFACE=$config"
proto_run_command "$config" udhcpc \
-f -t 0 -i "$iface" \
${ipaddr:+-r $ipaddr} \
${hostname:+-H $hostname} \
-f -t 0 -i "$iface" \
${ipaddr:+-r $ipaddr} \
${hostname:+-H $hostname} \
- ${clientid:+-x 0x3d:${clientid//:/}} \
${vendorid:+-V $vendorid} \
${vendorid:+-V $vendorid} \
+ $clientid $broadcast $dhcpopts
}
proto_dhcp_teardown() {
}
proto_dhcp_teardown() {