summaryrefslogtreecommitdiff
path: root/sys/man/8
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2018-10-08 02:11:36 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2018-10-08 02:11:36 +0200
commit065c3557af8de1b20d94c2e86a4a29c5d33ccc67 (patch)
treec5795999a777120da7e35b05857a2d6d651d5ad4 /sys/man/8
parentc458216121d622858916387071cd9c13df31820a (diff)
ip/dhcpd, ip/tftpd: change default for tftp homedir to /
Diffstat (limited to 'sys/man/8')
-rw-r--r--sys/man/8/dhcpd25
1 files changed, 21 insertions, 4 deletions
diff --git a/sys/man/8/dhcpd b/sys/man/8/dhcpd
index 7c36c5385..9917772c3 100644
--- a/sys/man/8/dhcpd
+++ b/sys/man/8/dhcpd
@@ -5,8 +5,10 @@ dhcpd, dhcp6d, dhcpleases, rarpd, tftpd \- Internet booting
.PP
.B ip/dhcpd
.RB [ -dmnprsSZ ]
+.RB [ -h
+.IR homedir ]
.RB [ -f
-.IR ndb-file ]
+.IR ndbfile ]
.RB [ -M
.IR secs ]
.RB [ -x
@@ -23,7 +25,7 @@ dhcpd, dhcp6d, dhcpleases, rarpd, tftpd \- Internet booting
.B ip/dhcp6d
.RB [ -d ]
.RB [ -f
-.IR ndb-file ]
+.IR ndbfile ]
.RB [ -x
.IR netmtpt ]
.PP
@@ -177,6 +179,18 @@ The options are:
.B d
Print debugging to standard output.
.TP
+.B h
+Change directory to
+.IR homedir .
+The default is
+.BR / .
+This should match the
+.I homedir
+setting of
+.I tftpd
+so that the existence check of non-rooted file names
+is consistent.
+.TP
.B f
Specify a file other than
.B /lib/ndb/local
@@ -277,9 +291,12 @@ The default is
Change directory to
.IR homedir .
The default is
-.BR /lib/tftpd .
+.BR / .
All requests for files with non-rooted file names are served starting at this
-directory.
+directory. This needs to be consistent with the
+.I homedir
+setting of
+.IR dhcpd .
.I Tftpd
supports only octet mode.
.TP