mirror of
https://github.com/YunoHost-Apps/galene_ynh.git
synced 2024-09-03 18:36:31 +02:00
Update remove
This commit is contained in:
parent
2e0d98a8b5
commit
ddde99f18c
1 changed files with 0 additions and 6 deletions
|
@ -49,12 +49,6 @@ ynh_remove_nginx_config
|
||||||
# CLOSE A PORT
|
# CLOSE A PORT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
if yunohost firewall list | grep -q "\- $port_turn$"
|
|
||||||
then
|
|
||||||
ynh_script_progression --message="Closing port $port_turn..." --weight=1
|
|
||||||
ynh_exec_warn_less yunohost firewall disallow both $port_turn
|
|
||||||
fi
|
|
||||||
|
|
||||||
if yunohost firewall list | grep -q "\- 49152:65535"
|
if yunohost firewall list | grep -q "\- 49152:65535"
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Closing UDP ports..." --weight=1
|
ynh_script_progression --message="Closing UDP ports..." --weight=1
|
||||||
|
|
Loading…
Reference in a new issue