[ltq-dsl] remove dependency for pkill
authorJohn Crispin <john@openwrt.org>
Fri, 28 Sep 2012 22:37:04 +0000 (22:37 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 28 Sep 2012 22:37:04 +0000 (22:37 +0000)
SVN-Revision: 33594

package/busybox/config/procps/Config.in
package/ltq-dsl-app/files/dsl_control

index 25eb3e5..d8d72a7 100644 (file)
@@ -133,7 +133,7 @@ config BUSYBOX_CONFIG_FEATURE_PIDOF_OMIT
 
 config BUSYBOX_CONFIG_PKILL
        bool "pkill"
-       default y
+       default n
        help
          Send signals to processes by name.
 
index e833854..02e89a0 100644 (file)
@@ -15,7 +15,7 @@ SERVICE_WRITE_PID=1
 # Basic functions to send CLI commands to the dsl_cpe_control daemon
 #
 dsl_cmd() {
-       pkill -0 dsl_cpe_control && (
+       killall -0 dsl_cpe_control && (
                echo "$@" > /tmp/pipe/dsl_cpe0_cmd
                cat /tmp/pipe/dsl_cpe0_ack
        )