icwmp: fix KeepConfig setting

(cherry picked from commit 3f1e6e6f86)

3f1e6e6f icwmp: fix KeepConfig setting

Co-authored-by: Vivek Kumar Dutta <vivek.dutta@iopsys.eu>
This commit is contained in:
Vivek Dutta 2026-02-12 11:27:15 +05:30 committed by IOPSYS Dev
parent 4d00615c72
commit cfdfac7fb8
No known key found for this signature in database

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}"