[tools/wrt350nv2-builder] Update to v2.2
[openwrt.git] / package / dnsmasq / files / dnsmasq.init
index 37b8eb8..7955fdb 100644 (file)
@@ -311,6 +311,7 @@ start() {
 
        /usr/sbin/dnsmasq $args && {
                rm -f /tmp/resolv.conf
+               [ -n "$DOMAIN" ] && echo "search $DOMAIN" >> /tmp/resolv.conf
                DNS_SERVERS="$DNS_SERVERS 127.0.0.1"
                for DNS_SERVER in $DNS_SERVERS ; do
                        echo "nameserver $DNS_SERVER" >> /tmp/resolv.conf
This page took 0.018571 seconds and 4 git commands to generate.