Commit Graph

5 Commits

Author SHA1 Message Date
Mohd Husaam Mehdi
473ea34a92 vsftpd: fix bug related to option conf_file
* I had wrongly used config_get_bool for the option, so fixed it
* this also fixes the issue of /etc/init.d/vsftpd stop not working

Signed-off-by: Mohd Husaam Mehdi <husaam.mehdi@iopsys.eu>
2025-01-21 10:31:30 +01:00
Mohd Husaam Mehdi
e5ceb59553 vsftpd: handle migration and fix secure_chroot_dir error
* update UCI to use the traditional vsftpd.conf so
  that people migrating from non-uci version do not face problems
* if secure_chroot_dir is not provided specifically, then create
  an empty directory where vsftpd usually expects it

Signed-off-by: Mohd Husaam Mehdi <husaam.mehdi@iopsys.eu>
2025-01-10 16:02:24 +01:00
Mohd Husaam Mehdi
4b29db3ca7 vsftpd: update init script to process UCI
* update init script to validate and process UCI
* the option conf_file can be used to pass a conf file
  instead of using UCI

Signed-off-by: Mohd Husaam Mehdi <husaam.mehdi@iopsys.eu>
2025-01-08 14:40:44 +01:00
Mohd Husaam Mehdi
1f884c960c vsftpd: update init script to use procd
update init script to use procd

Signed-off-by: Mohd Husaam Mehdi <husaam.mehdi@iopsys.eu>
2025-01-08 14:40:44 +01:00
Hannu Nyman
aff2e9e764 vsftpd: import from oldpackages. No changes. 2014-07-21 19:40:36 +03:00