package/dnsmasq: use service_kill in initscript
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 14 Feb 2011 17:02:48 +0000 (17:02 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 14 Feb 2011 17:02:48 +0000 (17:02 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25537 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/dnsmasq/files/dnsmasq.init

index 9bd6225..3e194af 100644 (file)
@@ -399,6 +399,6 @@ stop() {
                rm -f /tmp/resolv.conf
                ln -s /tmp/resolv.conf.auto /tmp/resolv.conf
        }
                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
 }
        return 0
 }
This page took 0.02977 seconds and 4 git commands to generate.