From: Jo-Philipp Wich Date: Sat, 9 Jan 2010 21:03:48 +0000 (+0000) Subject: dnsmasq: add local domain as search directive to /tmp/resolv.conf X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fd7889cf6f9551d8f5ce25c7f74546562f7447dd;p=openwrt%2Fstaging%2Fnbd.git dnsmasq: add local domain as search directive to /tmp/resolv.conf SVN-Revision: 19086 --- diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init index 37b8eb8669..70488a569f 100644 --- a/package/dnsmasq/files/dnsmasq.init +++ b/package/dnsmasq/files/dnsmasq.init @@ -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 } }