mirror of
https://github.com/YunoHost-Apps/wireguard_ynh.git
synced 2024-09-03 20:35:58 +02:00
parent
8a8a05b0fe
commit
59d1f06fcc
1 changed files with 6 additions and 0 deletions
|
@ -94,6 +94,12 @@ then
|
||||||
ynh_exec_warn_less yunohost firewall disallow TCP $port_wg
|
ynh_exec_warn_less yunohost firewall disallow TCP $port_wg
|
||||||
fi
|
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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC REMOVE
|
# SPECIFIC REMOVE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue