From d77774aaa192134b4626cba2c326f6eb83c21a2e Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 14 Jun 2022 23:02:34 +0800 Subject: [PATCH] Update ubuntu.sh --- scripts/install/ubuntu.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/install/ubuntu.sh b/scripts/install/ubuntu.sh index 21ee225a1..13afe4bad 100644 --- a/scripts/install/ubuntu.sh +++ b/scripts/install/ubuntu.sh @@ -36,7 +36,10 @@ if [ -f /usr/sbin/ufw ];then fi -ufw disable + +if [ -f /usr/sbin/ufw ];then + ufw disable +fi if [ ! -f /usr/sbin/ufw ];then apt install -y firewalld