aboutsummaryrefslogtreecommitdiffstats
path: root/main/tftpd-hpa/in.tftpd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/tftpd-hpa/in.tftpd.initd')
-rw-r--r--main/tftpd-hpa/in.tftpd.initd21
1 files changed, 21 insertions, 0 deletions
diff --git a/main/tftpd-hpa/in.tftpd.initd b/main/tftpd-hpa/in.tftpd.initd
new file mode 100644
index 0000000000..c8657634bf
--- /dev/null
+++ b/main/tftpd-hpa/in.tftpd.initd
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# 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
+ after firewall
+}
+
+start() {
+ ebegin "Starting tftpd"
+ /usr/sbin/in.tftpd -l ${INTFTPD_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping tftpd"
+ start-stop-daemon --stop --exec /usr/sbin/in.tftpd
+ eend $?
+}