From 7352f30d9180d116ef1a8426b17d833617a12dce Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sun, 1 Dec 2024 00:38:35 +0800 Subject: [PATCH] Update ubuntu.sh --- scripts/install/ubuntu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install/ubuntu.sh b/scripts/install/ubuntu.sh index 8af0c274f..37f8ef8bf 100644 --- a/scripts/install/ubuntu.sh +++ b/scripts/install/ubuntu.sh @@ -70,7 +70,7 @@ echo "SSH PORT:${SSH_PORT}" if [ -f /usr/sbin/ufw ];then # look # ufw status - ufw enable + echo 'y' | ufw enable if [ "$SSH_PORT" != "" ];then ufw allow $SSH_PORT/tcp