diff --git a/scripts/install b/scripts/install index b191bbd..b8c1d65 100755 --- a/scripts/install +++ b/scripts/install @@ -85,7 +85,6 @@ port=$(ynh_find_port --port=8443) turnserver_port=$(ynh_find_port --port=1194) # Open the ports -ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $port ynh_exec_warn_less yunohost firewall allow Both $turnserver_port # Store opened ports diff --git a/scripts/remove b/scripts/remove index 78cdef0..1035d54 100755 --- a/scripts/remove +++ b/scripts/remove @@ -87,11 +87,6 @@ ynh_remove_logrotate #================================================= ynh_script_progression --message="Closing ports..." --weight=1 -if yunohost firewall list | grep -q "\- $port$" -then - ynh_exec_warn_less yunohost firewall disallow TCP $port -fi - if yunohost firewall list | grep -q "\- $turnserver_port$" then ynh_exec_warn_less yunohost firewall disallow Both $turnserver_port diff --git a/scripts/restore b/scripts/restore index 98a4eac..2c85d53 100755 --- a/scripts/restore +++ b/scripts/restore @@ -127,7 +127,6 @@ fi #================================================= # Ouvre le port dans le firewall -ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $port ynh_exec_warn_less yunohost firewall allow Both $turnserver_port #=================================================