projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02e21c9
)
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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12546
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/dnsmasq/files/dnsmasq.init
patch
|
blob
|
history
diff --git
a/package/dnsmasq/files/dnsmasq.init
b/package/dnsmasq/files/dnsmasq.init
index
79e57d5
..
8643349
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
}