Description:
In some DHCP environments, the hostname is not set on the system, when it's not available to retrieve it from the DHCP/DNS server.
In this case the systems hostname will be unknown, which gives some problems.
This script will read the systems hostname from /etc/nodename, and set it, IF the file dhcp.hme0 (or what ever the NIC is) is found in /etc, and the hostname is unknown or Unknown, then it will set the local-hostname.