From 6bcf16b2c9925343a3679576cfa99f3e7ccf2d40 Mon Sep 17 00:00:00 2001 From: zribiahmed Date: Fri, 23 Nov 2012 09:33:45 +0000 Subject: [PATCH] --- src/scripts/functions/management_server | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scripts/functions/management_server b/src/scripts/functions/management_server index 11385f8..863de11 100644 --- a/src/scripts/functions/management_server +++ b/src/scripts/functions/management_server @@ -9,7 +9,7 @@ local val="" local parm="InternetGatewayDevice.ManagementServer.URL" case "$action" in get_value) - val=`/sbin/uci ${UCI_CONFIG_DIR:+-c $UCI_CONFIG_DIR} get cwmp.acs.url` + val=`/sbin/uci ${UCI_CONFIG_DIR:+-c $UCI_CONFIG_DIR} get cwmp.acs.url 2> /dev/null` ;; get_name) val="0" @@ -104,7 +104,7 @@ local val="" local parm="InternetGatewayDevice.ManagementServer.ParameterKey" case "$action" in get_value) - val=`/sbin/uci ${UCI_CONFIG_DIR:+-c $UCI_CONFIG_DIR} get cwmp.acs.ParameterKey` + val=`/sbin/uci ${UCI_CONFIG_DIR:+-c $UCI_CONFIG_DIR} get cwmp.acs.ParameterKey 2> /dev/null` ;; get_name) val="0" @@ -196,7 +196,7 @@ local val local parm="InternetGatewayDevice.ManagementServer.ConnectionRequestURL" case "$action" in get_value) - val=`uci get -q -P /etc/cwmpd/.iccu cwmp.cpe.iccu_url` + val=`uci get -q -P /etc/cwmpd/.iccu cwmp.cpe.iccu_url 2> /dev/null` ;; get_name) val="0"