Browse Source

fix disallow ports

master
parent
commit
85e4affa10
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      scripts/remove

+ 2
- 2
scripts/remove 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

#=================================================


Loading…
Cancel
Save