diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2019-07-03 11:16:22 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2019-07-15 16:21:56 +0200 |
commit | 1b937cb14184b5ff9a7a75fbc5d226032f931c35 (patch) | |
tree | 5f095c1a87ff0eaab9df202669106227b3e085d7 /package/system/ubox | |
parent | 285c83a004ea57d484e6f27df9ac04d0d7b0f00f (diff) | |
download | upstream-1b937cb14184b5ff9a7a75fbc5d226032f931c35.tar.gz upstream-1b937cb14184b5ff9a7a75fbc5d226032f931c35.tar.bz2 upstream-1b937cb14184b5ff9a7a75fbc5d226032f931c35.zip |
ubox: implement service_running() in log init.d script
It allows checking if service is running.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'package/system/ubox')
-rw-r--r-- | package/system/ubox/Makefile | 2 | ||||
-rw-r--r-- | package/system/ubox/files/log.init | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/package/system/ubox/Makefile b/package/system/ubox/Makefile index 9631ac872f..6e67951929 100644 --- a/package/system/ubox/Makefile +++ b/package/system/ubox/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ubox -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL=$(PROJECT_GIT)/project/ubox.git diff --git a/package/system/ubox/files/log.init b/package/system/ubox/files/log.init index 250f805b44..ba9c124c8b 100644 --- a/package/system/ubox/files/log.init +++ b/package/system/ubox/files/log.init @@ -96,3 +96,7 @@ start_service() config_foreach validate_log_section system start_service_file config_foreach validate_log_section system start_service_remote } + +service_running() { + procd_running log +} |