aboutsummaryrefslogtreecommitdiffstats
path: root/main/tftp-hpa/in.tftpd.confd
diff options
context:
space:
mode:
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 0000000000..5d74ac15fa
--- /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}"