mirror of
https://github.com/openwrt/openwrt.git
synced 2026-11-19 22:06:10 +04:00
restore the /tmp/resolv.conf symlink when stopping dnsmasq
SVN-Revision: 12546
This commit is contained in:
1 parent
e15237af0a
commit
fefd23fe13
1 file changed
+5
@@ -280,5 +280,10 @@ start() {
|
||||
}
|
||||
|
||||
stop() {
|
||||
[ -f /tmp/resolv.conf ] && {
|
||||
rm -f /tmp/resolv.conf
|
||||
ln -s /tmp/resolv.conf.auto /tmp/resolv.conf
|
||||
}
|
||||
killall dnsmasq
|
||||
return 0
|
||||
}
|
||||
Reference in new issue
Block a user