From 3d65fe1dda2c09e3c344677da9269b9a6bf2438c Mon Sep 17 00:00:00 2001 From: ke hu <ke.hu@iopsys.eu> Date: Tue, 17 Sep 2019 09:46:08 +0200 Subject: [PATCH] one solution to adsl annexa switch annexm cpe application needs longer time to free all the resourse,but stop dsl script does not wait for that --- dsl-cpe-api-vrx/files/ltq_load_dsl_cpe_api.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dsl-cpe-api-vrx/files/ltq_load_dsl_cpe_api.sh b/dsl-cpe-api-vrx/files/ltq_load_dsl_cpe_api.sh index 43c70c4..34885fc 100644 --- a/dsl-cpe-api-vrx/files/ltq_load_dsl_cpe_api.sh +++ b/dsl-cpe-api-vrx/files/ltq_load_dsl_cpe_api.sh @@ -88,7 +88,8 @@ stop() { : fi fi - +#give userspace app enough time to release driver,otherwise, unload driver fail + sleep 5 if [ ${bDisableAllLines} -eq 1 ]; then rmmod drv_dsl_cpe_api fi -- GitLab