From 56b9b917cd9ba6295e8df41675b858afcf85ee88 Mon Sep 17 00:00:00 2001 From: mini2024 Date: Sat, 22 Mar 2025 16:51:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20upgrade.sh=20=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=EF=BC=8C=E8=B0=83=E6=95=B4=E9=85=8D=E7=BD=AE=E8=BE=93?= =?UTF-8?q?=E5=87=BA=E6=A0=BC=E5=BC=8F=E5=B9=B6=E7=AE=80=E5=8C=96=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E6=89=A7=E8=A1=8C=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/upgrade.sh | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/debian/upgrade.sh b/debian/upgrade.sh index 16235ee..1a1a770 100644 --- a/debian/upgrade.sh +++ b/debian/upgrade.sh @@ -13,14 +13,14 @@ export NEEDRESTART_MODE=a apt install -y unattended-upgrades # 配置自动更新并在凌晨2点自动重启 -cat << EOF | tee /etc/apt/apt.conf.d/50unattended-upgrades +cat <