mirror of
https://github.com/bohanyang/debi.git
synced 2026-09-27 06:26:15 +00:00
Update Chinese default options
This commit is contained in:
@@ -51,8 +51,8 @@ sudo sh -c "$(wget -O - https://github.com/brentybh/debian-netboot/raw/master/ne
|
||||
|
||||
If `-c CN` is used, Chinese Special options will be setup for good connectivity and experience against GFW.
|
||||
|
||||
- Default archive mirror is `http://ftp.cn.debian.org/debian`.
|
||||
- Default security mirror is `http://ftp.cn.debian.org/debian-security`.
|
||||
- Default archive mirror is `https://mirrors.ustc.edu.cn/debian`.
|
||||
- Default security mirror is `https://mirrors.ustc.edu.cn/debian-security`.
|
||||
- Default time zone is `Asia/Shanghai`.
|
||||
- Default NTP server is `cn.ntp.org.cn`.
|
||||
- Default DNS is `156.154.70.5 156.154.71.5`.
|
||||
|
||||
+2
-2
@@ -101,8 +101,8 @@ done
|
||||
|
||||
case "$COUNTRY" in
|
||||
CN)
|
||||
PROTO=${PROTO:-http}
|
||||
HOST=${HOST:-ftp.cn.debian.org}
|
||||
PROTO=${PROTO:-https}
|
||||
HOST=${HOST:-mirrors.ustc.edu.cn}
|
||||
TIME_ZONE=${TIME_ZONE:-Asia/Shanghai}
|
||||
NTP=${NTP:-cn.ntp.org.cn}
|
||||
SECURITY=${SECURITY:-true}
|
||||
|
||||
Reference in New Issue
Block a user