mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
icwmp: 9.10.8
This commit is contained in:
parent
10428fbda0
commit
d1d57ca528
3 changed files with 10 additions and 10 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue