mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-23 13:54:35 +02:00
Removed temporary testing of empty hostname
This commit is contained in:
parent
a33b3c828f
commit
5afbe1a994
3
lynis
3
lynis
@ -473,8 +473,7 @@
|
|||||||
Solaris)
|
Solaris)
|
||||||
HOSTNAME=`uname -n` ;;
|
HOSTNAME=`uname -n` ;;
|
||||||
*)
|
*)
|
||||||
#HOSTNAME=`hostname -s 2> /dev/null` ;;
|
HOSTNAME=`hostname -s 2> /dev/null` ;;
|
||||||
HOSTNAME=`false`
|
|
||||||
esac
|
esac
|
||||||
FQDN=`hostname 2> /dev/null`
|
FQDN=`hostname 2> /dev/null`
|
||||||
if [ "${OS}" = "Linux" -a "${HOSTNAME}" = "${FQDN}" ]; then
|
if [ "${OS}" = "Linux" -a "${HOSTNAME}" = "${FQDN}" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user