|
| 1 | +# TQFTP Server Configuration File |
| 2 | +# This file demonstrates all available configuration options |
| 3 | + |
| 4 | +# Path Configuration |
| 5 | +# These paths control where the server looks for files and stores temporary data |
| 6 | + |
| 7 | +# Readonly path prefix - where readonly firmware files are accessed |
| 8 | +readonly_path=/readonly/firmware/image/ |
| 9 | + |
| 10 | +# Readwrite path prefix - where temporary/writable files are stored |
| 11 | +readwrite_path=/readwrite/ |
| 12 | + |
| 13 | +# Firmware base directory - where firmware files are located |
| 14 | +firmware_base=/lib/firmware/ |
| 15 | + |
| 16 | +# Updates directory name - subdirectory within firmware_base for updates |
| 17 | +updates_dir=updates/ |
| 18 | + |
| 19 | +# Temporary directory - where the server stores temporary files |
| 20 | +temp_dir=/tmp/tqftpserv |
| 21 | + |
| 22 | +# Logging Configuration |
| 23 | +# Controls how and where log messages are output |
| 24 | + |
| 25 | +# Minimum log level to output |
| 26 | +# Options: emerg, alert, crit, err, warn, notice, info, debug |
| 27 | +# Default: info |
| 28 | +log_level=info |
| 29 | + |
| 30 | +# Syslog facility to use |
| 31 | +# Options: daemon, user, mail, news, uucp, authpriv, ftp, cron, syslog, local0-7 |
| 32 | +# Default: daemon |
| 33 | +log_facility=daemon |
| 34 | + |
| 35 | +# Whether to log to console instead of syslog |
| 36 | +# Options: yes, no, true, false, 1, 0 |
| 37 | +# Default: no |
| 38 | +log_console=no |
| 39 | + |
| 40 | +# Example configurations for different environments: |
| 41 | + |
| 42 | +# Development configuration (uncomment to use): |
| 43 | +# log_level=debug |
| 44 | +# log_console=yes |
| 45 | +# temp_dir=/tmp/tqftpserv-dev |
| 46 | + |
| 47 | +# Production configuration (uncomment to use): |
| 48 | +# log_level=warn |
| 49 | +# log_facility=local0 |
| 50 | +# temp_dir=/var/tmp/tqftpserv |
| 51 | + |
| 52 | +# Android configuration (uncomment to use): |
| 53 | +# firmware_base=/vendor/firmware/ |
| 54 | +# temp_dir=/data/vendor/tmp/tqftpserv |
| 55 | +# log_level=info |
| 56 | +# log_console=no |
| 57 | + |
| 58 | +# Custom embedded system configuration (uncomment to use): |
| 59 | +# readonly_path=/mnt/firmware/readonly/ |
| 60 | +# readwrite_path=/mnt/firmware/readwrite/ |
| 61 | +# firmware_base=/mnt/firmware/base/ |
| 62 | +# temp_dir=/mnt/tmp/tqftpserv |
| 63 | +# log_level=notice |
0 commit comments