fix disallow ports
This commit is contained in:
parent
0c43240239
commit
85e4affa10
@ -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
|
||||
|
||||
#=================================================
|
||||
|
Loading…
x
Reference in New Issue
Block a user