mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-18 22:43:53 +01:00
restore the /tmp/resolv.conf symlink when stopping dnsmasq
SVN-Revision: 12546
This commit is contained in:
parent
e15237af0a
commit
fefd23fe13
@ -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
Block a user