Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2018-07-25 14:24:11 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2018-07-25 14:24:11 +0300
commit4ad2ee4ba2bebc7067c8884e3784a910a211a34d (patch)
tree9d8d64724840683daecd661f4d5c11e3dd0c9715 /include/tests_boot_services
parent6e2f1552af6e340237bf5b02c12098272bc5394f (diff)
[BOOT-5104] added busybox to service managers
Diffstat (limited to 'include/tests_boot_services')
-rw-r--r--include/tests_boot_services5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/tests_boot_services b/include/tests_boot_services
index d55d30cb..3b0d3a2e 100644
--- a/include/tests_boot_services
+++ b/include/tests_boot_services
@@ -89,6 +89,10 @@
LogText "Found: ${SHORTNAME}"
if [ "${SERVICE_MANAGER}" = "unknown" ]; then
case ${SHORTNAME} in
+ busybox)
+ SERVICE_MANAGER="busybox"
+ ;;
+
"init" | "initsplash")
SERVICE_MANAGER="SysV Init"
;;
@@ -100,7 +104,6 @@
;;
*)
CONTAINS_SYSTEMD=$(echo ${SHORTNAME} | ${GREPBINARY} "systemd")
-
if [ ! -z "${CONTAINS_SYSTEMD}" ]; then
SERVICE_MANAGER="systemd"
else