mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2025-12-10 07:44:41 +01:00
<empty commit message>
This commit is contained in:
parent
2c807bdd5c
commit
36e9c812ef
2 changed files with 3 additions and 3 deletions
|
|
@ -374,7 +374,7 @@ if [ \( "$action" = "apply_notification" \) -o \( "$action" = "apply_value" \) ]
|
||||||
if [ "$__fault_count" = "0" ]; then
|
if [ "$__fault_count" = "0" ]; then
|
||||||
# applying
|
# applying
|
||||||
/sbin/uci ${UCI_CONFIG_DIR:+-c $UCI_CONFIG_DIR} commit
|
/sbin/uci ${UCI_CONFIG_DIR:+-c $UCI_CONFIG_DIR} commit
|
||||||
if [ "$action" = "apply_value" ]; then ubus call tr069 SetParameterValuesStatus: '{"status": "0"}'; fi
|
if [ "$action" = "apply_value" ]; then ubus call tr069 SetParameterValuesStatus '{"status": "0"}'; fi
|
||||||
else
|
else
|
||||||
let n=$__fault_count-1
|
let n=$__fault_count-1
|
||||||
for i in `seq 0 $n`
|
for i in `seq 0 $n`
|
||||||
|
|
|
||||||
|
|
@ -166,7 +166,7 @@ local val=""
|
||||||
local parm="InternetGatewayDevice.ManagementServer.PeriodicInformInterval"
|
local parm="InternetGatewayDevice.ManagementServer.PeriodicInformInterval"
|
||||||
case "$action" in
|
case "$action" in
|
||||||
get_value)
|
get_value)
|
||||||
val=`/sbin/uci ${UCI_CONFIG_DIR:+-c $UCI_CONFIG_DIR} get cwmp.acs.periodic_inform_interval`
|
val=`/sbin/uci ${UCI_CONFIG_DIR:+-c $UCI_CONFIG_DIR} get cwmp.acs.periodic_inform_interval 2> /dev/null`
|
||||||
;;
|
;;
|
||||||
get_name)
|
get_name)
|
||||||
val="1"
|
val="1"
|
||||||
|
|
@ -183,7 +183,7 @@ local val=$1
|
||||||
local parm="InternetGatewayDevice.ManagementServer.PeriodicInformInterval"
|
local parm="InternetGatewayDevice.ManagementServer.PeriodicInformInterval"
|
||||||
case "$action" in
|
case "$action" in
|
||||||
set_value)
|
set_value)
|
||||||
/sbin/uci ${UCI_CONFIG_DIR:+-c $UCI_CONFIG_DIR} get cwmp.acs.periodic_inform_interval="$val"
|
/sbin/uci ${UCI_CONFIG_DIR:+-c $UCI_CONFIG_DIR} set cwmp.acs.periodic_inform_interval="$val"
|
||||||
;;
|
;;
|
||||||
set_notification)
|
set_notification)
|
||||||
freecwmp_set_parameter_notification "$parm" "$val"
|
freecwmp_set_parameter_notification "$parm" "$val"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue