From 1b29f930aad4fcd0bc20770e752b138a5f22e218 Mon Sep 17 00:00:00 2001 From: klever1988 <56048681+klever1988@users.noreply.github.com> Date: Sat, 31 Jul 2021 00:01:30 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=9B=B4=E6=96=B0=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0qemu=E8=99=9A=E6=8B=9F=E6=9C=BA=E5=88=A4?= =?UTF-8?q?=E6=96=AD"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/autoupdate.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/autoupdate.sh b/scripts/autoupdate.sh index 2150a51..ead1981 100644 --- a/scripts/autoupdate.sh +++ b/scripts/autoupdate.sh @@ -17,10 +17,6 @@ wget -P /tmp https://ghproxy.com/https://raw.githubusercontent.com/klever1988/na chmod +x /tmp/truncate /tmp/ddnz board_id=$(cat /etc/board.json | jsonfilter -e '@["model"].id' | sed 's/friendly.*,nanopi-//;s/xunlong,orangepi-//;s/^r1s-h5$/r1s/;s/^r1$/r1s-h3/;s/^r1-plus$/r1p/') -if [[ $board_id =~ .*qemu.* ]]; then - echo -e '\e[91m当前环境为qemu虚拟机,默认下载x86固件,如需停止请按Ctrl+C\e[0m' - board_id=x86 -fi mount -t tmpfs -o remount,size=850m tmpfs /tmp rm -rf /tmp/upg && mkdir /tmp/upg && cd /tmp/upg set +e