[package] dnsmasq: add local domain as search directive to /tmp/resolv.conf
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 9 Jan 2010 21:03:48 +0000 (21:03 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 9 Jan 2010 21:03:48 +0000 (21:03 +0000)
SVN-Revision: 19086

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
        }
 }