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 #=================================================