summaryrefslogtreecommitdiffstats
path: root/package/dnsmasq/files
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-09 21:03:48 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-09 21:03:48 +0000
commitc05762dd883ddbce21c7fc51a5d57b96c4a61553 (patch)
tree85a67896540e4dba2f17848483698b557984b34f /package/dnsmasq/files
parent21242b3716cc0bda59ae70046da3b2fd9e43e84a (diff)
[package] dnsmasq: add local domain as search directive to /tmp/resolv.conf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19086 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dnsmasq/files')
-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 37b8eb866..70488a569 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
}
}