* 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>
* 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>
* 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>