mirror of
https://github.com/outbackdingo/openwrt.git
synced 2026-01-28 02:19:51 +00:00
restore the /tmp/resolv.conf symlink when stopping dnsmasq
SVN-Revision: 12546
This commit is contained in:
@@ -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