vsftpd: fix bug related to option conf_file
authorMohd Husaam Mehdi <husaam.mehdi@iopsys.eu>
Wed, 15 Jan 2025 14:15:11 +0000 (19:45 +0530)
committerFlorian Eckert <Eckert.Florian@googlemail.com>
Tue, 21 Jan 2025 09:31:30 +0000 (10:31 +0100)
* 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>
net/vsftpd/Makefile
net/vsftpd/files/vsftpd.init

index cdabf6061af445ea2daa85c43c4640493ebb2a8d..217a58716349417e45ca6e4d582033f503eba27f 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=vsftpd
 PKG_VERSION:=3.0.5
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://security.appspot.com/downloads/
index e905bb74d11b1c43f06aea2d514d9a303e8df788..9448309bc6b28037071d5238b3a5b60a11c3e230 100644 (file)
@@ -141,7 +141,7 @@ start_service() {
        mkdir -m 0755 -p "$DEFAULT_SECURE_CHROOT"
        chown root:root "$DEFAULT_SECURE_CHROOT"
 
-       config_get_bool conf_file global conf_file ""
+       config_get conf_file global conf_file ""
        if [ -n "$conf_file" ]; then 
                # use user defined conf file instead of UCI
                OUTPUT_CONF="$conf_file"