添加 ufw 防火墙关闭

pull/211/head
wulabing 2020-01-26 21:49:12 +08:00
parent 98781ad3da
commit 9142e2dd83
1 changed files with 3 additions and 0 deletions

View File

@ -73,6 +73,9 @@ check_system(){
$INS install dbus
systemctl stop firewalld && systemctl disable firewalld
echo -e "${OK} ${GreenBG} firewalld 已关闭 ${Font}"
systemctl stop ufw && systemctl disable ufw
echo -e "${OK} ${GreenBG} ufw 已关闭 ${Font}"
}
is_root(){