mirror of
https://github.com/elseif/MikroTikPatch
synced 2026-07-18 02:59:38 +00:00
Update chr_busybox.sh
Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
parent
2162e76e64
commit
259051906c
@ -1,6 +1,12 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
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
|
||||||
|
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://gh-proxy.com/https://github.com/elseif/MikroTikPatch/releases/download/7.19.4/chr-7.19.4-legacy-bios.img.zip
|
||||||
|
fi
|
||||||
cd /tmp
|
cd /tmp
|
||||||
unzip -p chr.img.zip > chr.img
|
unzip -p chr.img.zip > chr.img
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user