obuspa: fix obuspa reloads with subscriptions

(cherry picked from commit f739714b09)

Co-authored-by: Vivek Kumar Dutta <vivek.dutta@iopsys.eu>
This commit is contained in:
Vivek Dutta 2026-01-21 18:55:36 +05:30 committed by IOPSYS Dev
parent 135590f80c
commit fdaed9883a
No known key found for this signature in database

View file

@ -419,6 +419,7 @@ configure_subscription()
db_set "${BASEPATH}.Recipient" "${dm_ref}"
# Entry updated in db, remove uci entry
uci_remove obuspa "${1}"
uci_commit obuspa
}
configure_challenges()
@ -457,6 +458,7 @@ configure_challenges()
db_set "${BASEPATH}.LockoutPeriod" "${LockoutPeriod}"
# Entry updated in db, remove uci entry
uci_remove obuspa "${1}"
uci_commit obuspa
}
configure_mtp() {