mirror of https://github.com/CISOfy/lynis.git
Show hardware address in log
This commit is contained in:
parent
788ab9999d
commit
632e8bd47a
|
@ -694,6 +694,7 @@
|
|||
|
||||
# Check if we found a HostID
|
||||
if [ ! "${FIND}" = "" ]; then
|
||||
LogText "Info: using hardware address ${FIND} to create ID"
|
||||
HOSTID=`echo ${FIND} | ${SHA1SUMBINARY} | awk '{ print $1 }'`
|
||||
LogText "Result: Found HostID: ${HOSTID}"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue