Bring back hostname option since it is not leading to the short write errors

This commit is contained in:
Scott Ullrich 2007-02-20 05:28:47 +00:00
parent e86a8e5741
commit a63ce78441

View File

@ -49,15 +49,15 @@ fi
#
check_hostname() {
# current_hostname=`$HOSTNAME`
# if [ -z "$current_hostname" ]; then
# $LOGGER "New Hostname ($interface): $new_host_name"
# $HOSTNAME $new_host_name
# elif [ "$current_hostname" = "$old_host_name" -a \
# "$new_host_name" != "$old_host_name" ]; then
# $LOGGER "New Hostname ($interface): $new_host_name"
# $HOSTNAME $new_host_name
# fi
current_hostname=`$HOSTNAME`
if [ -z "$current_hostname" ]; then
$LOGGER "New Hostname ($interface): $new_host_name"
$HOSTNAME $new_host_name
elif [ "$current_hostname" = "$old_host_name" -a \
"$new_host_name" != "$old_host_name" ]; then
$LOGGER "New Hostname ($interface): $new_host_name"
$HOSTNAME $new_host_name
fi
}
arp_flush() {