|
Lines 76-82
Link Here
|
| 76 |
if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \ |
76 |
if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \ |
| 77 |
[ x$reason = xREBIND ] || [ x$reason = xREBOOT ]; then |
77 |
[ x$reason = xREBIND ] || [ x$reason = xREBOOT ]; then |
| 78 |
current_hostname=`/bin/hostname` |
78 |
current_hostname=`/bin/hostname` |
| 79 |
if [ x$current_hostname = x ] || \ |
79 |
if [ x$current_hostname = x`rc_conf_var default_hostname` ] || \ |
| 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 ]; then |
| 82 |
$LOGGER "New Hostname: $new_host_name" |
82 |
$LOGGER "New Hostname: $new_host_name" |