[package] dnsmasq: add local domain as search directive to /tmp/resolv.conf
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 9 Jan 2010 21:03:48 +0000 (21:03 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 9 Jan 2010 21:03:48 +0000 (21:03 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19086 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/dnsmasq/files/dnsmasq.init

index 37b8eb8..70488a5 100644 (file)
@@ -315,6 +315,7 @@ start() {
                for DNS_SERVER in $DNS_SERVERS ; do
                        echo "nameserver $DNS_SERVER" >> /tmp/resolv.conf
                done
+               echo "search $DOMAIN" >> /tmp/resolv.conf
        }
 }
 
This page took 0.024986 seconds and 4 git commands to generate.