projects
/
openwrt
/
staging
/
rmilecki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e15237a
)
restore the /tmp/resolv.conf symlink when stopping dnsmasq
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 7 Sep 2008 15:22:25 +0000
(15:22 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 7 Sep 2008 15:22:25 +0000
(15:22 +0000)
SVN-Revision: 12546
package/dnsmasq/files/dnsmasq.init
patch
|
blob
|
history
diff --git
a/package/dnsmasq/files/dnsmasq.init
b/package/dnsmasq/files/dnsmasq.init
index 79e57d5f3cee63590fe4606e0e5d1f3cea2c61b8..8643349573d1064756e886a7e64d922a461af263 100644
(file)
--- a/
package/dnsmasq/files/dnsmasq.init
+++ b/
package/dnsmasq/files/dnsmasq.init
@@
-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
}