"-R" will not work as it needs the configured IP on the interface.
[openwrt/svn-archive/archive.git] / package / dnsmasq / files / dnsmasq.init
index de9b92d52bc73e9e8b8dea3e8673d0a1512c47df..6cb0e0f4fae8e3b7279276e790ce1dfe64198157 100644 (file)
@@ -227,7 +227,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 -t 1 -i $ifname >&- && return 0
+               udhcpc -n -q -s /bin/true -t 1 -i $ifname >&- && return 0
        }
 
        config_get start "$cfg" start