# Autodetect TFTPDIR location from tftp-server's own config file TFTPDIRS=$(cat /etc/xinetd.d/tftp |grep server_args | awk -F"-s " {'print $2'})