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 1a24612633a616b2815220637df01ecde4dc55c9..cd44de8592a332aa3b7ad7940da02dea4d35abfb 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