From 15e7f35459f8df8ae702f5bad42559c25c4c9791 Mon Sep 17 00:00:00 2001 From: vdutta Date: Fri, 21 Oct 2022 10:19:22 +0530 Subject: [PATCH] obuspa: 6.0.0.7 --- obuspa/Makefile | 2 +- obuspa/files/etc/init.d/obuspa | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/obuspa/Makefile b/obuspa/Makefile index 03f5574ef..e23aed86a 100644 --- a/obuspa/Makefile +++ b/obuspa/Makefile @@ -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) diff --git a/obuspa/files/etc/init.d/obuspa b/obuspa/files/etc/init.d/obuspa index 11c8b7015..70066e573 100755 --- a/obuspa/files/etc/init.d/obuspa +++ b/obuspa/files/etc/init.d/obuspa @@ -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}