#! /bin/sh
# hostname.sh	Set hostname.
#
# Version:	@(#)hostname.sh  1.10  26-Feb-2001  miquels@cistron.nl
#
# chkconfig: S 40 0
. /var/etc/autostart/start-config
if [ ! $debug = "off" ]; then
		echo "start debug /etc/init.d/hostname"
fi
if [ $debug = "high" ]; then
		set -x
fi
#

echo -n "Hostname: "

if [ -f /etc/hostname ]
then
	hostname -F /etc/hostname
fi

echo $(hostname)"."

