mirror of https://github.com/CISOfy/lynis.git
Detect BSD-style (rc.d) init in Linux systems
This commit is contained in:
parent
a64e3966c9
commit
9b02934339
|
@ -96,7 +96,11 @@
|
|||
;;
|
||||
|
||||
"init" | "initsplash")
|
||||
if [ -d ${ROOTDIR}etc/rc.d ]; then
|
||||
SERVICE_MANAGER="bsdrc.d"
|
||||
else
|
||||
SERVICE_MANAGER="SysV Init"
|
||||
fi
|
||||
;;
|
||||
systemd)
|
||||
SERVICE_MANAGER="systemd"
|
||||
|
|
Loading…
Reference in New Issue