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

SVN-Revision: 12424
owl
Felix Fietkau 2008-08-28 14:10:55 +00:00
parent fc8fa009ee
commit 2176ae1a6f
1 changed files with 1 additions and 0 deletions

View File

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