summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-ftp/tftp-hpa/files')
-rw-r--r--net-ftp/tftp-hpa/files/in.tftpd.confd8
-rw-r--r--net-ftp/tftp-hpa/files/in.tftpd.rc615
2 files changed, 12 insertions, 11 deletions
diff --git a/net-ftp/tftp-hpa/files/in.tftpd.confd b/net-ftp/tftp-hpa/files/in.tftpd.confd
index a755e418d7a3..99cb21cbb6c3 100644
--- a/net-ftp/tftp-hpa/files/in.tftpd.confd
+++ b/net-ftp/tftp-hpa/files/in.tftpd.confd
@@ -1,5 +1,7 @@
-# Config file for /etc/init.d/in.tftpd
-# Remove the -l if you use [x]inetd
+# /etc/init.d/in.tftpd
+# Path to server files from
INTFTPD_PATH="/tftproot"
-INTFTPD_OPTS="-l -s ${INTFTPD_PATH}"
+
+# For more options, see tftpd(8)
+INTFTPD_OPTS="-s ${INTFTPD_PATH}"
diff --git a/net-ftp/tftp-hpa/files/in.tftpd.rc6 b/net-ftp/tftp-hpa/files/in.tftpd.rc6
index 58d27a638360..fcf2a4cc3e58 100644
--- a/net-ftp/tftp-hpa/files/in.tftpd.rc6
+++ b/net-ftp/tftp-hpa/files/in.tftpd.rc6
@@ -1,21 +1,20 @@
#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/files/in.tftpd.rc6,v 1.1 2004/12/09 20:56:37 squinky86 Exp $
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/tftp-hpa/files/in.tftpd.rc6,v 1.2 2005/07/30 06:29:14 vapier Exp $
depend() {
need net
}
start() {
- ebegin "Starting in.tftpd"
- start-stop-daemon --start --quiet \
- --exec /usr/sbin/in.tftpd -- ${INTFTPD_OPTS}
+ ebegin "Starting tftpd"
+ /usr/sbin/in.tftpd -l ${INTFTPD_OPTS}
eend $?
}
stop() {
- ebegin "Stopping in.tftpd"
- start-stop-daemon --stop --quiet --exec /usr/sbin/in.tftpd
+ ebegin "Stopping tftpd"
+ start-stop-daemon --stop --exec /usr/sbin/in.tftpd
eend $?
}