On Sun, 28 Feb 2016 19:44:28 +0100
Hauke Mehrtens <[email protected]> wrote:

> 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 <[email protected]>
> ---
>  package/network/config/ltq-vdsl-app/files/dsl_control | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/network/config/ltq-vdsl-app/files/dsl_control
> b/package/network/config/ltq-vdsl-app/files/dsl_control index
> d7ba622..9c8dbad 100644 ---
> a/package/network/config/ltq-vdsl-app/files/dsl_control +++
> b/package/network/config/ltq-vdsl-app/files/dsl_control @@ -219,6
> +219,7 @@ start_service() { }
>  
>  stop_service() {

why not adding a comment about the lock?

> +     echo quit > /tmp/pipe/dsl_cpe0_cmd 
>       DSL_NOTIFICATION_TYPE="DSL_INTERFACE_STATUS" \
>       DSL_INTERFACE_STATUS="DOWN" \
>               /sbin/dsl_notify.sh



-- 
Alexander Couzens

mail: [email protected]
jabber: [email protected]
mobile: +4915123277221
gpg: 390D CF78 8BF9 AA50 4F8F  F1E2 C29E 9DA6 A0DF 8604

Attachment: pgpXyWIZX1X9s.pgp
Description: OpenPGP digital signature

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to