diff options
author | John Baldwin <jhb@FreeBSD.org> | 1999-12-22 01:28:49 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 1999-12-22 01:28:49 +0000 |
commit | b6c1f94fde83c1dc5c9e291d7b3c787097527d66 (patch) | |
tree | a875f49ddd03fbaa754af1362629a17cb824478b /bin/hostname/hostname.1 | |
parent | 9dd6b63c36e3128a2f6649f885f25aabd257aa88 (diff) | |
download | src-b6c1f94fde83c1dc5c9e291d7b3c787097527d66.tar.gz src-b6c1f94fde83c1dc5c9e291d7b3c787097527d66.zip |
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
Notes
Notes:
svn path=/head/; revision=54982
Diffstat (limited to 'bin/hostname/hostname.1')
-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 835d586e088a..ebadd2e341d1 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 |