瀏覽代碼

fix disallow ports

master
父節點
當前提交
85e4affa10
  1. 4
      scripts/remove

4
scripts/remove

@ -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
#=================================================

載入中…
取消
儲存