obuspa: Fix service entry

This commit is contained in:
vdutta 2021-05-12 23:42:38 +05:30
parent d5071bf28d
commit 61321b369c
2 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -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}