From a5a8ffb0b65f908fc5e9c795d7e688ab1d3aa0db Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 7 Mar 2016 11:03:26 +0000 Subject: [PATCH] ltq-vdsl-app: make the dsl_control application stop cleanly I am not calling dsl_cmd because I want to ignore the lock, quit should also be send when someone else is accessing it. I saw that some other call was stuck here and all following calls were stuck in the dsl_cmd lock. Signed-off-by: Hauke Mehrtens SVN-Revision: 48943 --- package/network/config/ltq-vdsl-app/files/dsl_control | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/network/config/ltq-vdsl-app/files/dsl_control b/package/network/config/ltq-vdsl-app/files/dsl_control index c4c3c0d601..1d8a902f69 100644 --- a/package/network/config/ltq-vdsl-app/files/dsl_control +++ b/package/network/config/ltq-vdsl-app/files/dsl_control @@ -220,6 +220,8 @@ start_service() { } stop_service() { + # do not use dsl_cmd to not block when this is locked up by some other proess + echo quit > /tmp/pipe/dsl_cpe0_cmd DSL_NOTIFICATION_TYPE="DSL_INTERFACE_STATUS" \ DSL_INTERFACE_STATUS="DOWN" \ /sbin/dsl_notify.sh -- 2.30.2