1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 00:14:05 +02:00

[ltq-dsl] remove dependency for pkill

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33594 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic 2012-09-28 22:37:04 +00:00
parent 552688c8bf
commit 9d299c35a5
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ config BUSYBOX_CONFIG_FEATURE_PIDOF_OMIT
config BUSYBOX_CONFIG_PKILL config BUSYBOX_CONFIG_PKILL
bool "pkill" bool "pkill"
default y default n
help help
Send signals to processes by name. Send signals to processes by name.

View File

@ -15,7 +15,7 @@ SERVICE_WRITE_PID=1
# Basic functions to send CLI commands to the dsl_cpe_control daemon # Basic functions to send CLI commands to the dsl_cpe_control daemon
# #
dsl_cmd() { dsl_cmd() {
pkill -0 dsl_cpe_control && ( killall -0 dsl_cpe_control && (
echo "$@" > /tmp/pipe/dsl_cpe0_cmd echo "$@" > /tmp/pipe/dsl_cpe0_cmd
cat /tmp/pipe/dsl_cpe0_ack cat /tmp/pipe/dsl_cpe0_ack
) )