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:
parent
e3b28ee187
commit
8d1dbd3625
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user