--- elwix/config/etc/default/tftpd.conf 2014/02/21 09:54:52 1.1 +++ elwix/config/etc/default/tftpd.conf 2014/09/15 19:06:44 1.2 @@ -0,0 +1,32 @@ +# +# TFTPd Config +# +# $Id: tftpd.conf,v 1.2 2014/09/15 19:06:44 misho Exp $ + +[tftpd] +# Drop priv to user +user = root +# Chroot to dir +chroot = / + +dir = /dev +# if file exists we can override it! +override = yes + +# if you don't want direct access to write file. You can specify buffer size in bytes +buf_io = 65536 +# if you wish padding to end of buf_io size with ascii char. Usually uses for NAND storages +#buf_pad = 0 + +bind = 0.0.0.0 +port = 69 + +# timeout transfer in seconds +timeout = 5 + +[exec_on] +# execute scripts on events +# parameters:: +request = /etc/tftpd/request.sh +complete = /etc/tftpd/complete.sh +error = /etc/tftpd/error.sh