From: Felix Fietkau Date: Thu, 28 Aug 2008 14:10:55 +0000 (+0000) Subject: fix a race condition which would leave dnsmasq in infinite resolving recursion nirvana X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2176ae1a6f384d977ca77f378494f28afeb16100;p=openwrt%2Fstaging%2Fldir.git fix a race condition which would leave dnsmasq in infinite resolving recursion nirvana SVN-Revision: 12424 --- diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index 88dded646c..49562b78d0 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -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