xref: /openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/tftp-hpa/files/tftp-xinetd (revision eb8dc40360f0cfef56fb6947cc817a547d6d9bc6)
1*eb8dc403SDave Cobbley# default: off
2*eb8dc403SDave Cobbley# description: The tftp server serves files using the trivial file transfer \
3*eb8dc403SDave Cobbley#	protocol.  The tftp protocol is often used to boot diskless \
4*eb8dc403SDave Cobbley#	workstations, download configuration files to network-aware printers, \
5*eb8dc403SDave Cobbley#	and to start the installation process for some operating systems.
6*eb8dc403SDave Cobbleyservice tftp
7*eb8dc403SDave Cobbley{
8*eb8dc403SDave Cobbley	socket_type		= dgram
9*eb8dc403SDave Cobbley	protocol		= udp
10*eb8dc403SDave Cobbley	wait			= yes
11*eb8dc403SDave Cobbley	user			= root
12*eb8dc403SDave Cobbley	server			= /usr/sbin/in.tftpd-hpa
13*eb8dc403SDave Cobbley	server_args		= -s /var/lib/tftpboot
14*eb8dc403SDave Cobbley	disable			= yes
15*eb8dc403SDave Cobbley	per_source		= 11
16*eb8dc403SDave Cobbley	cps				= 100 2
17*eb8dc403SDave Cobbley	flags			= IPv6
18*eb8dc403SDave Cobbley}
19