Update chr.sh

Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
elseif 2025-08-23 04:59:06 +08:00 committed by GitHub
parent c1163894f3
commit 92f26c270e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

4
chr.sh
View File

@ -2,10 +2,10 @@
set -e
if [ -d /sys/firmware/efi ]; then
echo "System boot mode: UEFI"
wget --no-check-certificate -O /tmp/chr.img.zip https://gh-proxy.com/https://github.com/elseif/MikroTikPatch/releases/download/7.19.4/chr-7.19.4.img.zip
wget --no-check-certificate -O /tmp/chr.img.zip https://github.com/elseif/MikroTikPatch/releases/download/7.19.4/chr-7.19.4.img.zip
else
echo "System boot mode: BIOS/MBR"
wget --no-check-certificate -O /tmp/chr.img.zip https://gh-proxy.com/https://github.com/elseif/MikroTikPatch/releases/download/7.19.4/chr-7.19.4-legacy-bios.img.zip
wget --no-check-certificate -O /tmp/chr.img.zip https://github.com/elseif/MikroTikPatch/releases/download/7.19.4/chr-7.19.4-legacy-bios.img.zip
fi
cd /tmp
unzip -p chr.img.zip > chr.img