Adding OpenRC to boot services detection

This commit is contained in:
Jay Keller 2021-07-11 04:39:36 +00:00 committed by GitHub
parent 7867759750
commit cd632059e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -112,6 +112,9 @@
runit)
SERVICE_MANAGER="runit"
;;
openrc-init)
SERVICE_MANAGER="openrc"
;;
*)
CONTAINS_SYSTEMD=$(echo ${SHORTNAME} | ${GREPBINARY} "systemd")
if [ -n "${CONTAINS_SYSTEMD}" ]; then