mirror of
https://github.com/elseif/MikroTikPatch
synced 2026-07-17 10:39:40 +00:00
Update chr.sh
Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
parent
c1163894f3
commit
92f26c270e
4
chr.sh
4
chr.sh
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user