aboutsummaryrefslogtreecommitdiffstats
path: root/main/tftp-hpa/in.tftpd.confd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-30 07:11:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-30 07:11:56 +0000
commitb2d94aaa0d1ea342a38f542276b8afedff78f8ab (patch)
tree2778eaf706c2fab4131dcaf75b2cb306ea1cb9b1 /main/tftp-hpa/in.tftpd.confd
parentff21403a29341cc0a762ee7ea1afbd276889c5e3 (diff)
downloadaports-b2d94aaa0d1ea342a38f542276b8afedff78f8ab.tar.bz2
aports-b2d94aaa0d1ea342a38f542276b8afedff78f8ab.tar.xz
tftp-hpa: rename dir to match pkgname
Diffstat (limited to 'main/tftp-hpa/in.tftpd.confd')
-rw-r--r--main/tftp-hpa/in.tftpd.confd15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/tftp-hpa/in.tftpd.confd b/main/tftp-hpa/in.tftpd.confd
new file mode 100644
index 000000000..5d74ac15f
--- /dev/null
+++ b/main/tftp-hpa/in.tftpd.confd
@@ -0,0 +1,15 @@
+# /etc/init.d/in.tftpd
+
+# Path to server files from
+# Depending on your application you may have to change this.
+INTFTPD_PATH="/var/tftpboot/"
+#INTFTPD_PATH="/var/tftp/"
+#INTFTPD_PATH="/tftpboot/"
+#INTFTPD_PATH="/tftproot/"
+
+# For more options, see in.tftpd(8)
+# -R 4096:32767 solves problems with ARC firmware, and obsoletes
+# the /proc/sys/net/ipv4/ip_local_port_range hack.
+# -s causes $INTFTPD_PATH to be the root of the TFTP tree.
+# -l is passed by the init script in addition to these options.
+INTFTPD_OPTS="-R 4096:32767 -s ${INTFTPD_PATH}"