projects
/
openwrt
/
staging
/
yousong.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beb132b
)
package/dnsmasq: use service_kill in initscript
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 14 Feb 2011 17:02:48 +0000
(17:02 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 14 Feb 2011 17:02:48 +0000
(17:02 +0000)
SVN-Revision: 25537
package/dnsmasq/files/dnsmasq.init
patch
|
blob
|
history
diff --git
a/package/dnsmasq/files/dnsmasq.init
b/package/dnsmasq/files/dnsmasq.init
index 9bd622576da2251f26a9fe5a28d73d7e15eb0c21..3e194afff83e1bdbd36232edb328fcf6e0840152 100644
(file)
--- a/
package/dnsmasq/files/dnsmasq.init
+++ b/
package/dnsmasq/files/dnsmasq.init
@@
-399,6
+399,6
@@
stop() {
rm -f /tmp/resolv.conf
ln -s /tmp/resolv.conf.auto /tmp/resolv.conf
}
- killall dnsmasq
+ service_kill dnsmasq /var/run/dnsmasq.pid
return 0
}