From d689ffa9d87bbf9f3bcf1e28cae236d09c872890 Mon Sep 17 00:00:00 2001 From: mofeng <3285338098@qq.com> Date: Sat, 25 Nov 2023 23:43:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index a3be8d6c..9a67cb58 100755 --- a/install.sh +++ b/install.sh @@ -12,9 +12,10 @@ cp ./patch/meson8b-onecloud.dtb /boot/dtb/meson8b-onecloud.dtb && echo "设备 #此为危险操作,会覆盖MBR分区,请在没有自行分区前执行,否则会丢失分区数据导致挂载了EMMC其他分区的系统无法启动! if [ -f "./installed.txt" ]; then - gzip -dc ./patch/Boot_SkipUSBBurning.gz | dd of=/dev/mmcblk1 && echo "One-KVM V0.4" >> installed.txt && echo "覆盖引导成功!" + echo "跳过覆盖引导!" else - echo "已跳过覆盖引导!" + gzip -dc ./patch/Boot_SkipUSBBurning.gz | dd of=/dev/mmcblk1 && echo "One-KVM V0.4" >> installed.txt && echo "覆盖引导成功!" + fi