mirror of
https://github.com/elseif/MikroTikPatch
synced 2026-07-17 18:49:41 +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
|
||||
set -e
|
||||
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
|
||||
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
|
||||
fi
|
||||
cd /tmp
|
||||
unzip -p chr.img.zip > chr.img
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user