Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2004 01:33:13 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        doc@FreeBSD.org
Subject:   [CFR] bootpd manpage enhancements
Message-ID:  <20040207233313.GA11839@straylight.m.ringlet.net>

next in thread | raw e-mail | index | archive | help

--ibTvN161/egqYuK8
Content-Type: text/plain; charset=windows-1251
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

The attached patch does several things to the bootpd(8) manpage:
- makes the interaction between -i and -s explicit;
- sorts the options taking arguments in the synopsis;
- documents the -h hostname option, which seems to have been present
  ever since rev. 1.1 of bootpd.c.

G'luck,
Peter

--=20
Peter Pentchev	roam@ringlet.net    roam@sbnd.net    roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
=2Esiht ekil ti gnidaer eb d'uoy ,werbeH ni erew ecnetnes siht fI

Index: src/libexec/bootpd/bootpd.8
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/src/libexec/bootpd/bootpd.8,v
retrieving revision 1.17
diff -u -r1.17 bootpd.8
--- src/libexec/bootpd/bootpd.8	13 Aug 2002 16:07:25 -0000	1.17
+++ src/libexec/bootpd/bootpd.8	7 Feb 2004 23:28:37 -0000
@@ -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,14 @@
 .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

--ibTvN161/egqYuK8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAJXW47Ri2jRYZRVMRAvc0AJ9PWqAcp6fsAFoBauoQw+NHwUZeswCaAoDn
Ecq01dFAWEeFmif8ARSZu6s=
=83It
-----END PGP SIGNATURE-----

--ibTvN161/egqYuK8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040207233313.GA11839>