fix a race condition which would leave dnsmasq in infinite resolving recursion nirvana

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12424 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2008-08-28 14:10:55 +00:00
parent b20fdad79b
commit 18a6db118c

View File

@@ -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