obuspa: 6.0.0.7

This commit is contained in:
vdutta 2022-10-21 10:19:22 +05:30
parent 8569ef77fc
commit 15e7f35459
2 changed files with 6 additions and 1 deletions

View file

@ -5,7 +5,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=obuspa
PKG_VERSION:=6.0.0.6
PKG_VERSION:=6.0.0.7
LOCAL_DEV:=0
ifneq ($(LOCAL_DEV),1)

View file

@ -474,6 +474,8 @@ configure_subscription()
fi
db_set "${BASEPATH}.Persistent" "1"
db_set "${BASEPATH}.Recipient" "${dm_ref}"
# Entry updated in db, remove uci entry
uci_remove obuspa "${1}"
}
check_json_load()
@ -554,6 +556,8 @@ configure_challenges()
db_set "${BASEPATH}.Value" "${Value}"
db_set "${BASEPATH}.Retries" "${Retries}"
db_set "${BASEPATH}.LockoutPeriod" "${LockoutPeriod}"
# Entry updated in db, remove uci entry
uci_remove obuspa "${1}"
}
configure_mtp() {
@ -971,6 +975,7 @@ db_init()
config_foreach configure_challenges challenge
global_init
update_reset_reason
uci_commit ${CONFIGURATION}
[ -f "${DB_DUMP}" ] && rm -f ${DB_DUMP}