X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ae2c89d0cd71a2febd4e6a82480cbc350c2893b3..9a9d15ed063b02c1c7d786e39e593f9723c96927:/package/dnsmasq/files/dnsmasq.init diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init index 118564954..1d4cc5a99 100644 --- a/package/dnsmasq/files/dnsmasq.init +++ b/package/dnsmasq/files/dnsmasq.init @@ -40,7 +40,7 @@ dhcp_add() { # check for an already active dhcp server on the interface, unless 'force' is set config_get_bool force "$cfg" force 0 [ "$force" -gt 0 ] || { - udhcpc -n -q -R -s /bin/true -i $ifname >&- && return 0 + udhcpc -n -q -R -s /bin/true -t 1 -i $ifname >&- && return 0 } config_get start "$cfg" start