mirror of https://github.com/CISOfy/lynis.git
Added OpenBSD for [NETW-3004]
This commit is contained in:
parent
44752440e8
commit
820c24c347
|
@ -208,7 +208,7 @@
|
|||
#
|
||||
# Test : NETW-3004
|
||||
# Description : Find available network interfaces on FreeBSD and others
|
||||
Register --test-no NETW-3004 --weight L --network NO --description "Search available network interfaces on FreeBSD and others"
|
||||
Register --test-no NETW-3004 --weight L --network NO --description "Search available network interfaces"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
FIND=""
|
||||
N=0
|
||||
|
@ -226,7 +226,7 @@
|
|||
DragonFly|FreeBSD|NetBSD)
|
||||
FIND=`${IFCONFIGBINARY} -l`
|
||||
;;
|
||||
Solaris)
|
||||
OpenBSD|Solaris)
|
||||
FIND=`${IFCONFIGBINARY} -a | ${GREPBINARY} "flags=" | ${AWKBINARY} -F ": " '{ print $1 }'`
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in New Issue