mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Show hardware address in log
This commit is contained in:
parent
788ab9999d
commit
632e8bd47a
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue