mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 14:48:57 +00:00
Log hostname settings/changes.
Submitted by: John Baldwin <jobaldwi@vt.edu>
This commit is contained in:
parent
cd6cd09939
commit
c4d662c3e3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49408
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user