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
This commit is contained in:
John Baldwin 1999-12-22 01:28:49 +00:00
parent 9dd6b63c36
commit b6c1f94fde
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54982

View File

@ -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