From 61321b369c386fa16971237eaed8d528ce16d997 Mon Sep 17 00:00:00 2001 From: vdutta Date: Wed, 12 May 2021 23:42:38 +0530 Subject: [PATCH] obuspa: Fix service entry --- obuspa/Makefile | 2 +- obuspa/files/etc/init.d/obuspa | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/obuspa/Makefile b/obuspa/Makefile index b4cf34f8f..b8819336e 100644 --- a/obuspa/Makefile +++ b/obuspa/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=obuspa -PKG_VERSION:=3.0.0.26 +PKG_VERSION:=3.0.0.27 LOCAL_DEV:=0 ifneq ($(LOCAL_DEV),1) diff --git a/obuspa/files/etc/init.d/obuspa b/obuspa/files/etc/init.d/obuspa index 6fa65b2d5..b190c3d87 100755 --- a/obuspa/files/etc/init.d/obuspa +++ b/obuspa/files/etc/init.d/obuspa @@ -419,7 +419,7 @@ configure_obuspa() { return 1; } - [ ${enabled} -eq 0 ] && exit 0 + [ ${enabled} -eq 0 ] && return 0 if [ ${debug} -eq 1 ]; then # Forward stdout of the command to logd @@ -537,7 +537,7 @@ start_service() { ubus wait_for usp.raw if [ "$?" -ne 0 ]; then log "OBUSPA failed to start usp.raw not available" - exit 0 + return 0 fi procd_open_instance ${CONFIGURATION}