mirror of https://github.com/CISOfy/lynis.git
Merge pull request #722 from pyllyukko/linux-bsdrc.d
Detect BSD-style (rc.d) init in Linux systems
This commit is contained in:
commit
6cd903e079
|
@ -96,7 +96,11 @@
|
|||
;;
|
||||
|
||||
"init" | "initsplash")
|
||||
SERVICE_MANAGER="SysV Init"
|
||||
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