apt-get install -y tftpd xinetd
cat <<REM > /etc/xinetd.d/tftp
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
REM
systemctl enable xinetd
systemctl restart xinetd
沒有留言:
張貼留言