From fb8c1d124ee6cebdd9390cec65e40fe85869dee4 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 15 Oct 2024 16:18:44 +0800 Subject: [PATCH] update --- plugins/fail2ban/index.py | 2 +- plugins/fail2ban/install.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/fail2ban/index.py b/plugins/fail2ban/index.py index 23452d33d..b2e8b3021 100755 --- a/plugins/fail2ban/index.py +++ b/plugins/fail2ban/index.py @@ -89,7 +89,7 @@ def configTpl(): for one in pathFile: if one.endswith("conf"): file = path + '/' + one - tmp.append(file) + tmp.append(file) return mw.getJson(tmp) diff --git a/plugins/fail2ban/install.sh b/plugins/fail2ban/install.sh index ddb6ea58f..dbb491c02 100755 --- a/plugins/fail2ban/install.sh +++ b/plugins/fail2ban/install.sh @@ -12,6 +12,7 @@ install_tmp=${rootPath}/tmp/mw_install.pl VERSION=$2 # cd /www/server/mdserver-web/plugins/fail2ban && bash install.sh install 1.1.0 +# cd /www/server/mdserver-web && python3 plugins/fail2ban/index.py config_tpl Install_App() {