[OpenWrt-Devel] [PATCH v2 05/11] ltq-vdsl-app: make the dsl_control application stop cleanly

Hauke Mehrtens hauke at hauke-m.de
Mon Feb 29 17:35:43 EST 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 02/29/2016 06:08 AM, Alexander Couzens wrote:
> On Sun, 28 Feb 2016 19:44:28 +0100 Hauke Mehrtens
> <hauke at hauke-m.de> 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 <hauke at hauke-m.de> --- 
>> 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?

Will add this.

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


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJW1Me5AAoJEIZ0px9YPRMyCGQP/iGoEhCe+H/PDu26g1+TznC5
2in9K8WEa+tbacUgkj/gFNOF5RTxVZIZ7Y7MOFDkfETZ1oEn/+8Hm4DO7mlJz4x1
VAzMoER/wM1rlK+WEtqbaHh/av86I2Sd6CAKdhiEbXkW3o/q6O4TkWHy6VQO0MXY
8W95ITW5e05BkhdSXlE6RL8MhJWGmZlxT0RsZ2eyHBfIroaJUgpNCD0SPCNzmp/w
rTVDlg8Qbz5jHaBiHolUJK2iCRG8CbG/O8qQtxsxhp5129qn6M60zPKp2MsfcX59
ZMSW/2GSB65GP35wTZ1u13wX5VHKpi/eCb4y4ABQZwxI7ow4RK3X9SIqLcfR8O3/
bhmM5gGQ7Ukt0rZkJpBT8hye8a5dA+R290vtj8qh8YleqsULPQyif0kq0LL2qh5v
d0FTDpWhgeKiUT78Kit8IEpTg94uIpbQaWdVCmGlcw5Exd2RtRZYXf2RpBhAA9sl
GB8aDKtnNChAg0twdh7sVaNJcjOhuSfw02TZH0D17NdDbzhMqn0zvl2UQ68jWMPh
WhO1uIl/PEjXXZ8gyIDnkzAs1PhIE3tb6NmkIcA02H0zydB0LOZQSif8Nn57bCF3
64n5U378oHJ2M/RpPAh4gMUjo/K7K/i/tyXkhOBHGWchyI4UizaxvQJWi6CYCDzE
PeAfTzQVtB4c7lItIc9S
=5OsF
-----END PGP SIGNATURE-----
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list