fix a race condition which would leave dnsmasq in infinite resolving recursion nirvana
authorFelix Fietkau <nbd@openwrt.org>
Thu, 28 Aug 2008 14:10:55 +0000 (14:10 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 28 Aug 2008 14:10:55 +0000 (14:10 +0000)
SVN-Revision: 12424

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

index 88dded6..49562b7 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