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

SVN-Revision: 12424
This commit is contained in:
Felix Fietkau 2008-08-28 14:10:55 +00:00
parent fc8fa009ee
commit 2176ae1a6f

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