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
commitc7f406065d5c5fe989f2006983bff87b6bf5a107 (patch)
treed54bee7dce17cd9c746a35017346cd9fcb4d3ba6 /package/dnsmasq
parent55828c19603f532bb74ee78ec9c7fcd9b65e0222 (diff)
downloadupstream-c7f406065d5c5fe989f2006983bff87b6bf5a107.tar.gz
upstream-c7f406065d5c5fe989f2006983bff87b6bf5a107.tar.bz2
upstream-c7f406065d5c5fe989f2006983bff87b6bf5a107.zip
package/dnsmasq: use service_kill in initscript
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25537 3c298f89-4303-0410-b956-a3cf2f4a3e73
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
}