更新 setup.sh

This commit is contained in:
2025-10-25 19:47:42 -07:00
parent b0e4c70572
commit 9f8178b0df

View File

@@ -60,7 +60,7 @@ for choice in $choices; do
echo "UFW Docker规则已存在, 跳过..."
else
echo "下载并追加UFW Docker配置规则..."
if curl -fsSL https://xx.com/ufw-docker.txt | tee -a /etc/ufw/after.rules > /dev/null; then
if curl -fsSL https://git.nvme.cc/adminroot/setup/raw/branch/main/src/ufw-docker.txt | tee -a /etc/ufw/after.rules > /dev/null; then
echo "UFW Docker规则已成功追加到文件末尾"
else
echo "错误: 无法下载UFW Docker规则"