summaryrefslogtreecommitdiff
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)
downloadmtk-20170518-a8850efe9eee794206c43c36c4e2a8e52cccf3ed.zip
mtk-20170518-a8850efe9eee794206c43c36c4e2a8e52cccf3ed.tar.gz
mtk-20170518-a8850efe9eee794206c43c36c4e2a8e52cccf3ed.tar.bz2
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 9bd6225..3e194af 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
}