summaryrefslogtreecommitdiff
path: root/bin/hostname
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-08-25 09:32:09 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-08-25 09:32:09 +0000
commit99bf26b9c1daccbec07ccf4717715fb7d68b6300 (patch)
tree41841cb454e841080ca15ec11d7eeb67615713fa /bin/hostname
parent7dfe58474b32e8e0573c93810837ed1ba1880ddb (diff)
Since netstart r1.208 (2020), it no longer applies /etc/myname
Change Xr from netstart to rc. From Christian Schulte, ok florian
Diffstat (limited to 'bin/hostname')
-rw-r--r--bin/hostname/hostname.18
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/hostname/hostname.1 b/bin/hostname/hostname.1
index 950b1e33419..b0e0f974b30 100644
--- a/bin/hostname/hostname.1
+++ b/bin/hostname/hostname.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hostname.1,v 1.21 2011/01/24 19:58:32 jmc Exp $
+.\" $OpenBSD: hostname.1,v 1.22 2024/08/25 09:32:08 tb Exp $
.\" $NetBSD: hostname.1,v 1.11 1995/09/07 06:28:39 jtc Exp $
.\"
.\" Copyright (c) 1983, 1988, 1990, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)hostname.1 8.2 (Berkeley) 4/28/95
.\"
-.Dd $Mdocdate: January 24 2011 $
+.Dd $Mdocdate: August 25 2024 $
.Dt HOSTNAME 1
.Os
.Sh NAME
@@ -53,7 +53,7 @@ or by supplying a
.Xr myname 5
file,
which is used at system boot time by
-.Xr netstart 8
+.Xr rc 8
to initialize the hostname.
.Pp
The options are as follows:
@@ -67,7 +67,7 @@ name.
.Xr gethostname 3 ,
.Xr myname 5 ,
.Xr hostname 7 ,
-.Xr netstart 8
+.Xr rc 8
.Sh HISTORY
The
.Nm