From fe567eee42e4fb32157b7c443f80761b7804d17b Mon Sep 17 00:00:00 2001 From: MOHAMED Kallel Date: Fri, 19 Sep 2014 10:32:13 +0100 Subject: [PATCH] fix bug. when restarting cwmpd the cwmpd call "freecwmp wait cache". the "freecwmp wait cache" return empty values in the cahce Signed-off-by: MOHAMED Kallel --- scripts/freecwmp.sh | 2 +- scripts/functions/common | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/freecwmp.sh b/scripts/freecwmp.sh index ce873d2..f8b801a 100644 --- a/scripts/freecwmp.sh +++ b/scripts/freecwmp.sh @@ -312,7 +312,7 @@ handle_action() { handle_get_cache "InternetGatewayDevice." "1" handle_get_cache "InternetGatewayDevice.ManagementServer." handle_get_cache "InternetGatewayDevice.DeviceInfo." - handle_get_cache "InternetGatewayDevice.X_INTENO_SE_LoginCfg" + handle_get_cache "InternetGatewayDevice.X_INTENO_SE_LoginCfg." local ls_cache="" while [ "$found" = "0" ]; do ls_prefix=`ls $cache_path` diff --git a/scripts/functions/common b/scripts/functions/common index dd8e5be..2563ec5 100644 --- a/scripts/functions/common +++ b/scripts/functions/common @@ -729,7 +729,7 @@ get_param_cache_generic() { return; fi ;; - get_cache) + get_cache|wait_cache) if [ "$val_cmd" != "" ]; then val=`eval "$val_cmd"` fi