This commit is contained in:
Alexander Zhirov 2025-04-25 17:04:22 +03:00
commit 29da8777e6
9 changed files with 582 additions and 0 deletions

21
in.tftpd.initd Normal file
View file

@ -0,0 +1,21 @@
#!/sbin/openrc-run
# 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-trq"
/usr/sbin/in.tftpd-trq -l ${INTFTPD_OPTS}
eend $?
}
stop() {
ebegin "Stopping tftpd-trq"
start-stop-daemon --stop --exec /usr/sbin/in.tftpd-trq
eend $?
}