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