From 390202e98e5a7161c2c6a4a236bc1c3be5140b8d Mon Sep 17 00:00:00 2001 From: bin456789 Date: Sat, 30 Nov 2024 19:31:13 +0800 Subject: [PATCH] =?UTF-8?q?debian:=20=E6=9B=B4=E6=94=B9=E5=9B=BD=E5=86=85?= =?UTF-8?q?=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit link #209 --- reinstall.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/reinstall.sh b/reinstall.sh index 94ba599..64c8ffe 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -999,9 +999,7 @@ setos() { esac if is_in_china; then - # 部分源没有 firmware - # https://mirror.nju.edu.cn/debian-cdimage/firmware/ - cdimage_mirror=https://mirror.sjtu.edu.cn/debian-cdimage + cdimage_mirror=https://mirror.nju.edu.cn/debian-cdimage else cdimage_mirror=https://cdimage.debian.org/images # 在瑞典,不是 cdn # cloud.debian.org 同样在瑞典,不是 cdn @@ -1047,7 +1045,7 @@ Continue? if is_in_china; then # ftp.cn.debian.org 不在国内还严重丢包 # https://www.itdog.cn/ping/ftp.cn.debian.org - hostname=mirror.sjtu.edu.cn + hostname=mirror.nju.edu.cn else hostname=deb.debian.org # fastly fi @@ -1064,7 +1062,7 @@ Continue? eval ${step}_vmlinuz=https://$initrd_mirror/$initrd_dir/linux eval ${step}_initrd=https://$initrd_mirror/$initrd_dir/initrd.gz eval ${step}_ks=$confhome/debian.cfg - eval ${step}_firmware=$cdimage_mirror/firmware/$codename/current/firmware.cpio.gz + eval ${step}_firmware=$cdimage_mirror/unofficial/non-free/firmware/$codename/current/firmware.cpio.gz eval ${step}_hostname=$hostname eval ${step}_directory=$directory eval ${step}_codename=$codename