obuspa: Fail init if required data is missing

This commit is contained in:
vdutta 2021-10-08 11:01:47 +05:30
parent d5e7cb1a28
commit 0d8f4a3de8
2 changed files with 2 additions and 7 deletions

View file

@ -5,12 +5,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=obuspa
PKG_VERSION:=4.1.0.6
PKG_VERSION:=4.1.0.7
LOCAL_DEV:=0
ifneq ($(LOCAL_DEV),1)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=817cb955fe010e2c3a1cdcc22c4daac3b9064126
PKG_SOURCE_VERSION:=b5f40a62d8c08b563391403f08699b45d508bf45
PKG_SOURCE_URL:=https://dev.iopsys.eu/fork/obuspa.git
PKG_MAINTAINER:=Vivek Dutta <vivek.dutta@iopsys.eu>
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz

View file

@ -648,11 +648,6 @@ db_init() {
db_set Internal.Reboot.Cause "LocalFactoryReset"
}
service_running() {
ubus wait_for usp.raw
procd_running ${CONFIGURATION}
}
start_service() {
local enabled