restore the /tmp/resolv.conf symlink when stopping dnsmasq
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12546 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
02e21c951c
commit
0ea2967af9
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue