icwmp: 9.10.8

This commit is contained in:
Vivek Kumar Dutta 2025-11-05 15:46:26 +05:30
parent 10428fbda0
commit d1d57ca528
No known key found for this signature in database
GPG key ID: 4E09F5AD8265FD4C
3 changed files with 10 additions and 10 deletions

View file

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=icwmp
PKG_VERSION:=9.10.7
PKG_VERSION:=9.10.8
LOCAL_DEV:=0
ifneq ($(LOCAL_DEV),1)

View file

@ -42,9 +42,9 @@ config cpe 'cpe'
option periodic_notify_interval '10'
option incoming_rule 'Port_Only'
option active_notif_throttle '0'
option KeepConfig '1'
option KeepOpConf '1'
option ConfigScope 'UserOnly'
#option KeepConfig '1'
#option KeepOpConf '1'
#option ConfigScope 'UserOnly'
option clock_sync_timeout '128'
option disable_datatype_check '0'
#list allowed_cr_ip '10.5.1.0/24'

View file

@ -97,9 +97,9 @@ validate_cpe_section()
'periodic_notify_enable:bool' \
'enable:bool:1' \
'periodic_notify_interval:uinteger' \
'KeepConfig:bool:1' \
'KeepOpConf:bool:1' \
'ConfigScope:string:UserOnly'
'KeepConfig:bool' \
'KeepOpConf:bool' \
'ConfigScope:string'
}
validate_defaults() {
@ -180,9 +180,9 @@ stop_service()
ConfigScope="$(uci -q get cwmp.cpe.ConfigScope)"
json_init
[ -n "${KeepConfig}" ] && json_add_boolean "KeepConfig" "${KeepConfig}"
[ -n "${KeepOpConf}" ] && json_add_boolean "KeepOpConf" "${KeepOpConf}"
[ -n "${ConfigScope}" ] && json_add_string "ConfigScope" "${ConfigScope}"
[ -n "${KeepConfig}" ] && json_add_boolean "keep_config" "${KeepConfig}"
[ -n "${KeepOpConf}" ] && json_add_boolean "keep_opconf" "${KeepOpConf}"
[ -n "${ConfigScope}" ] && json_add_string "config_scope" "${ConfigScope}"
json_dump| /etc/sysmngr/fwbank call copy_config
fi