diff options
author | jhb <jhb@FreeBSD.org> | 1999-12-22 01:28:49 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 1999-12-22 01:28:49 +0000 |
commit | 8d1dbd3625f135063ce9705738d5a8d4b59b8c14 (patch) | |
tree | 1178a9e5894c97c45b3d330ddb3980230d140a43 /bin | |
parent | e3b28ee18771bf983cd246c88ff7a5a58dab1022 (diff) | |
download | FreeBSD-src-8d1dbd3625f135063ce9705738d5a8d4b59b8c14.zip FreeBSD-src-8d1dbd3625f135063ce9705738d5a8d4b59b8c14.tar.gz |
Mention the hostname variable in /etc/rc.conf since that is the most
common way of setting the hostname. The man page already mentioned that
the hostname is set by /etc/rc.network, so this just explains where
/etc/rc.network gets the hostname from.
PR: docs/14319
Submitted by: rwatson
Reviewed by: cmc
Diffstat (limited to 'bin')
-rw-r--r-- | bin/hostname/hostname.1 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/hostname/hostname.1 b/bin/hostname/hostname.1 index 835d586..ebadd2e 100644 --- a/bin/hostname/hostname.1 +++ b/bin/hostname/hostname.1 @@ -50,6 +50,10 @@ network initialization script .Pa /etc/rc.network , normally run at boot time. +This script uses the +.Va hostname +variable in +.Pa /etc/rc.conf . .Pp Options: .Bl -tag -width flag @@ -58,7 +62,8 @@ Trim off any domain information from the printed name. .El .Sh SEE ALSO -.Xr gethostname 3 +.Xr gethostname 3 , +.Xr rc.conf 5 .Sh HISTORY The .Nm |