Merge branch 'fwbank_keepconf' into 'devel'

sysmngr: keep config when config_scope empty

See merge request feed/iopsys!2138
This commit is contained in:
Suvendhu Hansa 2026-03-13 16:13:41 +05:30 committed by IOPSYS Dev
commit a0a46581ab
No known key found for this signature in database

View file

@ -266,7 +266,7 @@ case "$1" in
if [ "${keep_settings}" -eq 0 ]; then
sysupgrade_flag="${sysupgrade_flag} -n"
elif [ "${keep_settings}" -eq 1 ]; then
if [ "${config_scope}" != "All" ]; then
if [ -n "${config_scope}" ] && [ "${config_scope}" != "All" ]; then
sysupgrade_flag="${sysupgrade_flag} -n"
fi
fi