mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-19 23:43:42 +02:00
restore the /tmp/resolv.conf symlink when stopping dnsmasq
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12546 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d599603ffb
commit
2c8a0b905f
@ -280,5 +280,10 @@ start() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
|
[ -f /tmp/resolv.conf ] && {
|
||||||
|
rm -f /tmp/resolv.conf
|
||||||
|
ln -s /tmp/resolv.conf.auto /tmp/resolv.conf
|
||||||
|
}
|
||||||
killall dnsmasq
|
killall dnsmasq
|
||||||
|
return 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user