From 7b34f0705c15f4c9873b138ba4e3de50a79aefef Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 24 May 2021 10:33:46 +0200 Subject: [PATCH] Update remove --- scripts/remove | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/scripts/remove b/scripts/remove index cd5357f..2fc6809 100644 --- a/scripts/remove +++ b/scripts/remove @@ -69,28 +69,6 @@ ynh_script_progression --message="Removing NGINX web server configuration..." -- # Remove the dedicated NGINX config ynh_remove_nginx_config -#================================================= -# CLOSE A PORT -#================================================= - -if yunohost firewall list | grep -q "\- $port$" -then - ynh_script_progression --message="Closing port $port..." - ynh_exec_warn_less yunohost firewall disallow TCP $port -fi - -if yunohost firewall list | grep -q "\- $port_hub$" -then - ynh_script_progression --message="Closing port $port_hub..." - ynh_exec_warn_less yunohost firewall disallow TCP $port_hub -fi - -if yunohost firewall list | grep -q "\- $port_http_proxy$" -then - ynh_script_progression --message="Closing port $port_http_proxy..." - ynh_exec_warn_less yunohost firewall disallow TCP $port_http_proxy -fi - #================================================= # REMOVE DEDICATED USER #=================================================