mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-24 22:34:33 +02:00
Added OpenBSD for [NETW-3004]
This commit is contained in:
parent
44752440e8
commit
820c24c347
@ -208,7 +208,7 @@
|
|||||||
#
|
#
|
||||||
# Test : NETW-3004
|
# Test : NETW-3004
|
||||||
# Description : Find available network interfaces on FreeBSD and others
|
# 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
|
if [ ${SKIPTEST} -eq 0 ]; then
|
||||||
FIND=""
|
FIND=""
|
||||||
N=0
|
N=0
|
||||||
@ -226,7 +226,7 @@
|
|||||||
DragonFly|FreeBSD|NetBSD)
|
DragonFly|FreeBSD|NetBSD)
|
||||||
FIND=`${IFCONFIGBINARY} -l`
|
FIND=`${IFCONFIGBINARY} -l`
|
||||||
;;
|
;;
|
||||||
Solaris)
|
OpenBSD|Solaris)
|
||||||
FIND=`${IFCONFIGBINARY} -a | ${GREPBINARY} "flags=" | ${AWKBINARY} -F ": " '{ print $1 }'`
|
FIND=`${IFCONFIGBINARY} -a | ${GREPBINARY} "flags=" | ${AWKBINARY} -F ": " '{ print $1 }'`
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user