Annotation of tftpd/etc/tftpd.conf, revision 1.3

1.1       misho       1: #
                      2: # TFTPd Config
                      3: #
1.3     ! misho       4: # $Id: tftpd.conf,v 1.2.8.2 2014/02/24 14:55:19 misho Exp $
1.1       misho       5: 
                      6: [tftpd]
                      7: # Drop priv to user
                      8: user = nobody
                      9: # Chroot to dir
                     10: chroot = /
                     11: 
                     12: dir = /tftpboot
                     13: # if file exists we can override it!
                     14: override = yes
                     15: 
1.3     ! misho      16: # if you don't want direct access to write file. You can specify buffer size in bytes
        !            17: buf_io = 65536
        !            18: # if you wish padding to end of buf_io size with ascii char. Usually uses for NAND storages
        !            19: #buf_pad = 0
        !            20: 
1.1       misho      21: bind = 0.0.0.0
                     22: port = 69
                     23: 
                     24: # timeout transfer in seconds
                     25: timeout = 5
                     26: 
                     27: [exec_on]
                     28: # execute scripts on events
1.2       misho      29: #      parameters:: <action> <opcode> <filename> <mode> <client_address> <client_port>
1.1       misho      30: request = /etc/tftpd/request.sh
                     31: complete = /etc/tftpd/complete.sh
                     32: error = /etc/tftpd/error.sh

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>