diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-30 07:11:56 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-06-30 07:11:56 +0000 |
commit | b2d94aaa0d1ea342a38f542276b8afedff78f8ab (patch) | |
tree | 2778eaf706c2fab4131dcaf75b2cb306ea1cb9b1 /main/tftp-hpa/in.tftpd.initd | |
parent | ff21403a29341cc0a762ee7ea1afbd276889c5e3 (diff) | |
download | aports-b2d94aaa0d1ea342a38f542276b8afedff78f8ab.tar.bz2 aports-b2d94aaa0d1ea342a38f542276b8afedff78f8ab.tar.xz |
tftp-hpa: rename dir to match pkgname
Diffstat (limited to 'main/tftp-hpa/in.tftpd.initd')
-rw-r--r-- | main/tftp-hpa/in.tftpd.initd | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/main/tftp-hpa/in.tftpd.initd b/main/tftp-hpa/in.tftpd.initd new file mode 100644 index 0000000000..c8657634bf --- /dev/null +++ b/main/tftp-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 $? +} |