diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-08-28 14:10:55 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-08-28 14:10:55 +0000 |
commit | 2176ae1a6f384d977ca77f378494f28afeb16100 (patch) | |
tree | 3103a38652fe57cb0593ae18057a29a30af65524 /package/base-files | |
parent | fc8fa009ee3a3f430a30b0b6e83c28efe2360385 (diff) | |
download | mtk-20170518-2176ae1a6f384d977ca77f378494f28afeb16100.zip mtk-20170518-2176ae1a6f384d977ca77f378494f28afeb16100.tar.gz mtk-20170518-2176ae1a6f384d977ca77f378494f28afeb16100.tar.bz2 |
fix a race condition which would leave dnsmasq in infinite resolving recursion nirvana
SVN-Revision: 12424
Diffstat (limited to 'package/base-files')
-rwxr-xr-x | package/base-files/files/etc/init.d/boot | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index 88dded6..49562b7 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 |