Log hostname settings/changes.

Submitted by:	John Baldwin <jobaldwi@vt.edu>
This commit is contained in:
David E. O'Brien 1999-08-04 15:12:27 +00:00
parent cd6cd09939
commit c4d662c3e3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49408

View File

@ -79,6 +79,7 @@ if [ x$reason = xBOUND ] || [ x$reason = xRENEW ] || \
if [ x$current_hostname = x ] || \
[ x$current_hostname = x$old_host_name ]; then
if [ x$new_host_name != x$old_host_name ]; then
$LOGGER New Hostname: $new_host_name
hostname $new_host_name
fi
fi