Commit Graph

5 Commits

Author SHA1 Message Date
Sergey Ponomarev
4c4a7bd31d treewide: use config_get_bool instead of config_get enabled
The config_get_bool function parses not just the 1 but on/yes, true/false or enabled/disabled.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-05-26 03:00:50 +08:00
Jakub Raczynski
eeea8f4c6f atftpd: Add 'enable' config option
Current version of atftpd daemon does automatically start when installed.
This commit adds 'enable' option to config file to
have control over atftpd daemon.

Signed-off-by: Jakub Raczynski <myszsoda@gmail.com>
2023-11-10 19:11:37 +00:00
Jakub Raczynski
240ea8803f atftpd: Add missing field to default configuration
Although init script did consist of default value for missing 'port' field,
add it to configuration file for consistency.

Signed-off-by: Jakub Raczynski <myszsoda@gmail.com>
2023-11-10 19:11:31 +00:00
Jakub Raczynski
db48e79406 atftpd: Refactor init script
- Add local variables for read configuration
- Convert uppercase  to lowercase for local variables

Signed-off-by: Jakub Raczynski <myszsoda@gmail.com>
2023-11-10 19:11:07 +00:00
Russell Senior
6258b32d7c atftp: add init script and config file
Signed-off-by: Russell Senior <russell@personaltelco.net>
2020-09-18 10:22:56 -07:00