Skip to content
Snippets Groups Projects
Commit 1b937cb1 authored by Rafał Miłecki's avatar Rafał Miłecki
Browse files

ubox: implement service_running() in log init.d script


It allows checking if service is running.

Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
parent 285c83a0
Branches master
No related tags found
No related merge requests found
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
......
......@@ -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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment