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