mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00: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
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…
x
Reference in New Issue
Block a user