Skip to content
Snippets Groups Projects
Commit fefd23fe authored by Felix Fietkau's avatar Felix Fietkau
Browse files

restore the /tmp/resolv.conf symlink when stopping dnsmasq

SVN-Revision: 12546
parent e15237af
No related branches found
No related tags found
No related merge requests found
...@@ -280,5 +280,10 @@ start() { ...@@ -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
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment