fix a race condition which would leave dnsmasq in infinite resolving recursion nirvana
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 28 Aug 2008 14:10:55 +0000 (14:10 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 28 Aug 2008 14:10:55 +0000 (14:10 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12424 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/files/etc/init.d/boot

index 88dded646c3db1df2a75a68b64d78af8f5e6dc9d..49562b78d0ce22c5ece13763ac637874daed49b2 100755 (executable)
@@ -45,6 +45,7 @@ start() {
        chown 0700 /tmp/.uci
        touch /var/log/wtmp
        touch /var/log/lastlog
+       touch /tmp/resolv.conf.auto
        ln -sf /tmp/resolv.conf.auto /tmp/resolv.conf
        [ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe