Browse Source

package/dnsmasq: use service_kill in initscript

SVN-Revision: 25537
Jo-Philipp Wich 15 years ago
parent
commit
a8850efe9e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/dnsmasq/files/dnsmasq.init

+ 1 - 1
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
 }