|
Lines 78-84
Link Here
|
| 78 |
current_hostname=`/bin/hostname` |
78 |
current_hostname=`/bin/hostname` |
| 79 |
if [ x$current_hostname = x ] || \ |
79 |
if [ x$current_hostname = x ] || \ |
| 80 |
[ x$current_hostname = x$old_host_name ]; then |
80 |
[ x$current_hostname = x$old_host_name ]; then |
| 81 |
if [ x$new_host_name != x$old_host_name ]; then |
81 |
if [ x$new_host_name != x$old_host_name ] || \ |
|
|
82 |
[ x$new_host_name != x$current_hostname ]; then |
| 82 |
$LOGGER "New Hostname: $new_host_name" |
83 |
$LOGGER "New Hostname: $new_host_name" |
| 83 |
hostname $new_host_name |
84 |
hostname $new_host_name |
| 84 |
fi |
85 |
fi |