mirror of https://github.com/CISOfy/lynis.git
FreeBSD uses the bsdrc service manager.
With this patch, a run on my machine returns: [+] Initializing program ------------------------------------ - Detecting OS... [ DONE ] --------------------------------------------------- Program version: 2.1.1 Operating system: FreeBSD Operating system name: FreeBSD ... [+] Boot and services ------------------------------------ - Service Manager [ bsdrc ]
This commit is contained in:
parent
db828b5e03
commit
1bb5b4b0a6
|
@ -99,7 +99,7 @@
|
|||
if [ -f /usr/bin/init-openrc ]; then SERVICE_MANAGER="openrc"; fi
|
||||
fi
|
||||
;;
|
||||
"DragonFly"|"NetBSD")
|
||||
"DragonFly"|"NetBSD"|"FreeBSD")
|
||||
if [ -x /sbin/init -a -d /etc/rc.d -a -f /etc/rc ]; then
|
||||
SERVICE_MANAGER="bsdrc"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue