diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-30 06:29:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-30 06:29:14 +0000 |
commit | bd6bb9a5d2341d0f00d284580525966c45aa51bb (patch) | |
tree | 66af0075d7112657fa2772a256099027ecc1b55c /net-ftp/tftp-hpa/files | |
parent | Add some user-input buffer len checks #100423 by Amir Sadoughi. (diff) | |
download | gentoo-2-bd6bb9a5d2341d0f00d284580525966c45aa51bb.tar.gz gentoo-2-bd6bb9a5d2341d0f00d284580525966c45aa51bb.tar.bz2 gentoo-2-bd6bb9a5d2341d0f00d284580525966c45aa51bb.zip |
Clean up init scripts and stabilize for #90784 by Daniel Webert.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-ftp/tftp-hpa/files')
-rw-r--r-- | net-ftp/tftp-hpa/files/in.tftpd.confd | 8 | ||||
-rw-r--r-- | net-ftp/tftp-hpa/files/in.tftpd.rc6 | 15 |
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 $? } |