aboutsummaryrefslogtreecommitdiffstats
path: root/package/dnsmasq
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-02-14 17:02:48 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-02-14 17:02:48 +0000
commita8850efe9eee794206c43c36c4e2a8e52cccf3ed (patch)
tree112d2ea475c2777159f1ac23f5eb4a603e8c5291 /package/dnsmasq
parentbeb132b140c1cfc60b3d375738829536c3af8fa3 (diff)
downloadupstream-a8850efe9eee794206c43c36c4e2a8e52cccf3ed.tar.gz
upstream-a8850efe9eee794206c43c36c4e2a8e52cccf3ed.tar.bz2
upstream-a8850efe9eee794206c43c36c4e2a8e52cccf3ed.zip
package/dnsmasq: use service_kill in initscript
SVN-Revision: 25537
Diffstat (limited to 'package/dnsmasq')
-rw-r--r--package/dnsmasq/files/dnsmasq.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init
index 9bd622576d..3e194afff8 100644
--- 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
}