diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2019-07-03 11:16:22 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-09-04 13:27:52 +0200 |
commit | 67b3e4446534553968262ec9e4b62dba47272f0d (patch) | |
tree | 8d3bfa22f8caeec7c69d4a703fdaa4ea8846298a /package/system/ubox/files | |
parent | ff9255f7a188b311383b7e460987f468837c21e3 (diff) | |
download | upstream-67b3e4446534553968262ec9e4b62dba47272f0d.tar.gz upstream-67b3e4446534553968262ec9e4b62dba47272f0d.tar.bz2 upstream-67b3e4446534553968262ec9e4b62dba47272f0d.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>
(cherry picked from commit 1b937cb14184b5ff9a7a75fbc5d226032f931c35)
Diffstat (limited to 'package/system/ubox/files')
-rw-r--r-- | package/system/ubox/files/log.init | 4 |
1 files changed, 4 insertions, 0 deletions
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 +} |