aboutsummaryrefslogtreecommitdiffstats
path: root/main/tftpd-hpa/in.tftpd.confd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-11-12 07:06:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-11-12 07:06:18 +0000
commit614b5d2362dc7083ad13d8d9895cf40624245ef0 (patch)
tree3b487d20288b39053b35e1ff9d5cf9c27ba4bb09 /main/tftpd-hpa/in.tftpd.confd
parentfb1cbbb6342135b68095f54574b2c63ea9c7f67e (diff)
downloadaports-614b5d2362dc7083ad13d8d9895cf40624245ef0.tar.bz2
aports-614b5d2362dc7083ad13d8d9895cf40624245ef0.tar.xz
main/tftpd-hpa: moved from testing
Diffstat (limited to 'main/tftpd-hpa/in.tftpd.confd')
-rw-r--r--main/tftpd-hpa/in.tftpd.confd15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/tftpd-hpa/in.tftpd.confd b/main/tftpd-hpa/in.tftpd.confd
new file mode 100644
index 0000000000..5d74ac15fa
--- /dev/null
+++ b/main/tftpd-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}"