From 6f0266bea72851a77f26256dab2c20d1f73f5619 Mon Sep 17 00:00:00 2001 From: lapineige Date: Fri, 16 Dec 2022 23:37:38 +0100 Subject: [PATCH] remove close a port --- scripts/remove | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/remove b/scripts/remove index ca31e5a..5f1479d 100755 --- a/scripts/remove +++ b/scripts/remove @@ -107,11 +107,11 @@ ynh_remove_app_dependencies # CLOSE A PORT #================================================= -if yunohost firewall list | grep -q "\- $port$" -then - ynh_script_progression --message="Closing port $port..." --weight=1 - ynh_exec_warn_less yunohost firewall disallow TCP $port -fi +#if yunohost firewall list | grep -q "\- $port$" +#then +# ynh_script_progression --message="Closing port $port..." --weight=1 +# ynh_exec_warn_less yunohost firewall disallow TCP $port +#fi #================================================= # REMOVE FAIL2BAN CONFIGURATION