fix a race condition which would leave dnsmasq in infinite resolving recursion nirvana
SVN-Revision: 12424
This commit is contained in:
parent
fc8fa009ee
commit
2176ae1a6f
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue