aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2004-02-10 15:12:01 +0000
committerPeter Pentchev <roam@FreeBSD.org>2004-02-10 15:12:01 +0000
commitf9566be8ddc6766cd7aed33779cd97b0431617b1 (patch)
treea7f91d94258f8604bdd079eba1064f69229b3755
parent99cf2f941c02c56a5dd1c9ac851080d20697894d (diff)
downloadsrc-f9566be8ddc6766cd7aed33779cd97b0431617b1.tar.gz
src-f9566be8ddc6766cd7aed33779cd97b0431617b1.zip
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
Notes
Notes: svn path=/head/; revision=125654
-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 7599c7d0c4da..6651ac37ad03 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