mirror of https://github.com/hak5/openwrt-owl.git
parent
f3cab53f27
commit
27144ca2a6
|
@ -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.
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue