更新 setup.sh
This commit is contained in:
2
setup.sh
2
setup.sh
@@ -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规则"
|
||||
|
||||
Reference in New Issue
Block a user