From a400700c492f9bdee537781313f6174c2728ee95 Mon Sep 17 00:00:00 2001 From: Vivek Kumar Dutta Date: Fri, 9 Jun 2023 19:26:02 +0530 Subject: [PATCH] obuspa: 7.0.2.19 --- obuspa/Makefile | 4 ++-- obuspa/files/etc/init.d/obuspa | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/obuspa/Makefile b/obuspa/Makefile index 7a70fb123..f2500ea2c 100644 --- a/obuspa/Makefile +++ b/obuspa/Makefile @@ -5,13 +5,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=obuspa -PKG_VERSION:=7.0.2.18 +PKG_VERSION:=7.0.2.19 LOCAL_DEV:=0 ifneq ($(LOCAL_DEV),1) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://dev.iopsys.eu/bbf/obuspa.git -PKG_SOURCE_VERSION:=6c216dff513e4c81761498b3d617647f547b4879 +PKG_SOURCE_VERSION:=7260ebbc65cc3b6dbd93e4b1a15bdddcf1018eeb PKG_MAINTAINER:=Vivek Dutta PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz PKG_MIRROR_HASH:=skip diff --git a/obuspa/files/etc/init.d/obuspa b/obuspa/files/etc/init.d/obuspa index 9ad7bdb45..b0ebfd5f5 100755 --- a/obuspa/files/etc/init.d/obuspa +++ b/obuspa/files/etc/init.d/obuspa @@ -12,7 +12,7 @@ KEEP_FILE="/lib/upgrade/keep.d/obuspa" RESET_FILE="/tmp/obuspa/obuspa_param_reset.txt" SQL_DB_FILE="/tmp/obuspa/usp.db" -DB_DUMP="/tmp/obuspa/usp.dump" +DB_DUMP="/tmp/obuspa/usp.dump_$(date +%s)" BASEPATH="" INSTANCE_COUNT=0 @@ -76,7 +76,7 @@ db_set() dump_db() { - ${PROG} -f ${SQL_DB_FILE} -c show database |awk 'NR>1 {print $1 " \"" $3 "\""}' | sort > ${DB_DUMP} + ${PROG} -v0 -f ${SQL_DB_FILE} -c show database |awk '/^Device./ || /^Internal./ {print $1 " \"" $3 "\""}' | sort > ${DB_DUMP} } # if db present then check if it matches with existing instances