fix disallow ports

This commit is contained in:
Samuel Vermeulen 2019-07-05 22:34:58 +02:00
parent 0c43240239
commit 85e4affa10

View File

@ -130,14 +130,14 @@ ynh_remove_fpm_config
if yunohost firewall list | grep -q "\- 547$"
then
ynh_print_info "Closing port 547"
ynh_exec_warn_less yunohost firewall disallow TCP 547
ynh_exec_warn_less yunohost firewall disallow UDP 547
fi
if yunohost firewall list | grep -q "\- 67$"
then
ynh_print_info "Closing port 67"
ynh_exec_warn_less yunohost firewall disallow TCP 67
ynh_exec_warn_less yunohost firewall disallow UDP 67
fi
#=================================================