[BOOT-5104] added busybox to service managers

This commit is contained in:
Michael Boelen 2018-07-25 13:24:11 +02:00
parent 6e2f1552af
commit 4ad2ee4ba2
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04
1 changed files with 4 additions and 1 deletions

View File

@ -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