1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-02 17:12:35 +03: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:
nbd 2008-09-07 15:22:25 +00:00
parent d599603ffb
commit 2c8a0b905f

View File

@ -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
}