aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh')
-rwxr-xr-xtarget/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh b/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh
index dbeb344cde..22e65cb148 100755
--- a/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh
+++ b/target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh
@@ -12,8 +12,10 @@ fi
#
dsl_cmd() {
killall -0 ${XDSL_CTRL} && (
+ lock /var/lock/dsl_pipe
echo "$@" > /tmp/pipe/dsl_cpe0_cmd
cat /tmp/pipe/dsl_cpe0_ack
+ lock -u /var/lock/dsl_pipe
)
}
dsl_val() {