summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-08-04 15:12:27 +0000
committerobrien <obrien@FreeBSD.org>1999-08-04 15:12:27 +0000
commitcaa5450e65614cbbc80c7c4f632cffe2f177af1a (patch)
tree55ccef59bfd98f51b0839de78450f82423b614ab /contrib
parent7eaa3130e0cb66ac23ea50a9ed064eb483bb5473 (diff)
downloadFreeBSD-src-caa5450e65614cbbc80c7c4f632cffe2f177af1a.zip
FreeBSD-src-caa5450e65614cbbc80c7c4f632cffe2f177af1a.tar.gz
Log hostname settings/changes.
Submitted by: John Baldwin <jobaldwi@vt.edu>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/isc-dhcp/client/scripts/freebsd1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/isc-dhcp/client/scripts/freebsd b/contrib/isc-dhcp/client/scripts/freebsd
index 8fdbda9..65720e4 100755
--- a/contrib/isc-dhcp/client/scripts/freebsd
+++ b/contrib/isc-dhcp/client/scripts/freebsd
@@ -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
OpenPOWER on IntegriCloud