summaryrefslogtreecommitdiff
path: root/package/dnsmasq
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-01-09 21:03:48 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-01-09 21:03:48 +0000
commitfd7889cf6f9551d8f5ce25c7f74546562f7447dd (patch)
tree49fa950c09fa8848cfc2af1e7fd71c5816c7ca62 /package/dnsmasq
parentff6010a732bf4c38e3de852ac6b2f4571bf0147d (diff)
downloadmtk-20170518-fd7889cf6f9551d8f5ce25c7f74546562f7447dd.zip
mtk-20170518-fd7889cf6f9551d8f5ce25c7f74546562f7447dd.tar.gz
mtk-20170518-fd7889cf6f9551d8f5ce25c7f74546562f7447dd.tar.bz2
dnsmasq: add local domain as search directive to /tmp/resolv.conf
SVN-Revision: 19086
Diffstat (limited to 'package/dnsmasq')
-rw-r--r--package/dnsmasq/files/dnsmasq.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init
index 37b8eb8..70488a5 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
}
}