only ignore dhcp but still listen for dns closes #3406
authorthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 8 May 2008 00:01:58 +0000 (00:01 +0000)
committerthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 8 May 2008 00:01:58 +0000 (00:01 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11062 3c298f89-4303-0410-b956-a3cf2f4a3e73

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