icwmp: fix KeepConfig setting

This commit is contained in:
Vivek Kumar Dutta 2026-02-12 11:01:00 +05:30
parent 53761ea8c8
commit 3f1e6e6f86
No known key found for this signature in database
GPG key ID: 4E09F5AD8265FD4C

View file

@ -180,7 +180,7 @@ stop_service()
ConfigScope="$(uci -q get cwmp.cpe.ConfigScope)"
json_init
[ -n "${KeepConfig}" ] && json_add_boolean "keep_config" "${KeepConfig}"
[ -n "${KeepConfig}" ] && json_add_boolean "keep_settings" "${KeepConfig}"
[ -n "${KeepOpConf}" ] && json_add_boolean "keep_opconf" "${KeepOpConf}"
[ -n "${ConfigScope}" ] && json_add_string "config_scope" "${ConfigScope}"