mirror of https://github.com/CISOfy/lynis.git
Merge pull request #1202 from digitalcheetah/openrc
Adding OpenRC to boot service test
This commit is contained in:
commit
7674a08ab8
|
@ -112,6 +112,9 @@
|
||||||
runit)
|
runit)
|
||||||
SERVICE_MANAGER="runit"
|
SERVICE_MANAGER="runit"
|
||||||
;;
|
;;
|
||||||
|
openrc-init)
|
||||||
|
SERVICE_MANAGER="openrc"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
CONTAINS_SYSTEMD=$(echo ${SHORTNAME} | ${GREPBINARY} "systemd")
|
CONTAINS_SYSTEMD=$(echo ${SHORTNAME} | ${GREPBINARY} "systemd")
|
||||||
if [ -n "${CONTAINS_SYSTEMD}" ]; then
|
if [ -n "${CONTAINS_SYSTEMD}" ]; then
|
||||||
|
|
Loading…
Reference in New Issue