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 25eb3e5456fc7176fee3e1de8255c719e2103add..d8d72a75e7b77608f892085f886f2f7532192945 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 e8338543013a0ccb2caedbc7a0da17e0e5f8c86a..02e89a0fd7a2cb572ebb48377322741043db2ff5 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
        )