Commit 173177e
committed
tqftpserv: Enable config file support in tqftpserv
Integrate configuration management via config file and
command-line arguments to customize server behavior.
This allows runtime configuration of key filesystem paths
including readonly_path, readwrite_path, firmware_base,
updates_dir, and temp_dir.
It also enables dynamic adjustment of the default log level,
supporting flexible deployment across platforms like Linux
and Android without requiring code changes.
Signed-off-by: Bhaskar Valaboju <[email protected]>1 parent 46d75e0 commit 173177e
2 files changed
+36
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
603 | 604 | | |
604 | 605 | | |
605 | 606 | | |
606 | | - | |
| 607 | + | |
607 | 608 | | |
608 | 609 | | |
609 | 610 | | |
| |||
618 | 619 | | |
619 | 620 | | |
620 | 621 | | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
621 | 643 | | |
622 | 644 | | |
623 | 645 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 21 | + | |
32 | 22 | | |
33 | 23 | | |
34 | 24 | | |
| |||
130 | 120 | | |
131 | 121 | | |
132 | 122 | | |
133 | | - | |
| 123 | + | |
134 | 124 | | |
135 | 125 | | |
136 | 126 | | |
137 | | - | |
138 | | - | |
| 127 | + | |
| 128 | + | |
139 | 129 | | |
140 | 130 | | |
141 | 131 | | |
142 | 132 | | |
143 | 133 | | |
144 | 134 | | |
145 | | - | |
| 135 | + | |
146 | 136 | | |
147 | 137 | | |
148 | 138 | | |
| |||
175 | 165 | | |
176 | 166 | | |
177 | 167 | | |
178 | | - | |
| 168 | + | |
179 | 169 | | |
180 | 170 | | |
181 | | - | |
| 171 | + | |
182 | 172 | | |
183 | 173 | | |
184 | 174 | | |
185 | | - | |
| 175 | + | |
186 | 176 | | |
187 | 177 | | |
188 | | - | |
| 178 | + | |
189 | 179 | | |
190 | 180 | | |
191 | 181 | | |
| |||
207 | 197 | | |
208 | 198 | | |
209 | 199 | | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
214 | 204 | | |
215 | 205 | | |
216 | 206 | | |
| |||
0 commit comments