跳过覆盖EMMC MBR信息

This commit is contained in:
mofeng
2023-11-29 16:12:29 +08:00
parent 627fbd1170
commit a52812883b

View File

@@ -36,7 +36,7 @@ if [ -f "./installed.txt" ]; then
rm /etc/kvmd/nginx/ssl/server.key
echo "跳过覆盖引导!"
else
gzip -dc ./patch/Boot_SkipUSBBurning.gz | dd of=/dev/mmcblk1 && echo "One-KVM V0.4" >> installed.txt && echo "覆盖引导成功!"
gzip -dc ./patch/Boot_SkipUSBBurning.gz | dd of=/dev/mmcblk1 bs=512 seek=1 && echo "One-KVM V0.4" >> installed.txt && echo "覆盖引导成功!"
fi