0
0
mirror of https://github.com/openwrt/packages.git synced 2025-03-14 21:37:33 +00:00

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>
This commit is contained in:
Mohd Husaam Mehdi
2025-01-15 19:45:11 +05:30
committed by Florian Eckert
parent 85fa8cfe0b
commit 473ea34a92
2 changed files with 2 additions and 2 deletions
net/vsftpd

@ -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/

@ -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"