summaryrefslogtreecommitdiffstats
path: root/libexec/bootpd
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2004-02-10 15:12:01 +0000
committerroam <roam@FreeBSD.org>2004-02-10 15:12:01 +0000
commit0d5a6d979000fcf2da6dfbb9fc0ad4c9b60a644b (patch)
treea7f91d94258f8604bdd079eba1064f69229b3755 /libexec/bootpd
parent853b4bc47c4be9feb5f50093966ae6abaadcfcee (diff)
downloadFreeBSD-src-0d5a6d979000fcf2da6dfbb9fc0ad4c9b60a644b.zip
FreeBSD-src-0d5a6d979000fcf2da6dfbb9fc0ad4c9b60a644b.tar.gz
Document the '-h hostname' option, which seems to have been present
ever since rev. 1.1 of bootpd.c. While I'm here, rearrange the synopsis a bit: sort the options and clarify that -i and -s are mutually exclusive. Reported by: Atanas Buchvarov <nasko@nove.bg> MFC after: 3 days
Diffstat (limited to 'libexec/bootpd')
-rw-r--r--libexec/bootpd/bootpd.821
1 files changed, 14 insertions, 7 deletions
diff --git a/libexec/bootpd/bootpd.8 b/libexec/bootpd/bootpd.8
index 7599c7d..6651ac3 100644
--- a/libexec/bootpd/bootpd.8
+++ b/libexec/bootpd/bootpd.8
@@ -10,20 +10,20 @@
.Nd Internet Boot Protocol server/gateway
.Sh SYNOPSIS
.Nm
-.Op Fl i
-.Op Fl s
-.Op Fl t Ar timeout
-.Op Fl d Ar level
+.Op Fl i | Fl s
.Op Fl c Ar chdir-path
+.Op Fl d Ar level
+.Op Fl h Ar hostname
+.Op Fl t Ar timeout
.Oo
.Ar bootptab
.Op Ar dumpfile
.Oc
.Nm bootpgw
-.Op Fl i
-.Op Fl s
-.Op Fl t Ar timeout
+.Op Fl i | Fl s
.Op Fl d Ar level
+.Op Fl h Ar hostname
+.Op Fl t Ar timeout
.Ar server
.Sh DESCRIPTION
The
@@ -138,6 +138,13 @@ needs to use the same current directory as the TFTP server
.Pa /tftpboot ) .
This option is not recognized by
.Nm bootpgw .
+.It Fl h Ar hostname
+Specify the hostname corresponding to the IP address to listen on.
+By default,
+.Nm
+listens on the IP address corresponding to the machine's hostname, as
+returned by
+.Xr gethostname 3 .
.It Fl i
Force inetd mode. This option is obsolete, but remains for
compatibility with older versions of
OpenPOWER on IntegriCloud