version 1.1, 2014/02/21 09:54:52
|
version 1.2, 2014/09/15 19:06:48
|
Line 0
|
Line 1
|
|
# |
|
# TFTPd Config |
|
# |
|
# $Id$ |
|
|
|
[tftpd] |
|
# Drop priv to user |
|
user = root |
|
# Chroot to dir |
|
chroot = / |
|
|
|
dir = /dev/map |
|
# 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:: <action> <opcode> <filename> <mode> <client_address> <client_port> |
|
#request = /etc/tftpd/request.sh |
|
#complete = /etc/tftpd/complete.sh |
|
#error = /etc/tftpd/error.sh |