only ignore dhcp but still listen for dns closes #3406
authorTravis Kemen <thepeople@openwrt.org>
Thu, 8 May 2008 00:01:58 +0000 (00:01 +0000)
committerTravis Kemen <thepeople@openwrt.org>
Thu, 8 May 2008 00:01:58 +0000 (00:01 +0000)
SVN-Revision: 11062

package/dnsmasq/files/dnsmasq.init

index 1a24612..cd44de8 100644 (file)
@@ -185,7 +185,7 @@ dhcp_add() {
                DNS_SERVERS="$DNS_SERVERS $dnsserver"
        }
 
-       append_bool "$cfg" ignore "-I $ifname"
+       append_bool "$cfg" ignore "-2 $ifname"
 
        config_get proto "$net" proto
        [ static = "$proto" ] || return 0