From be121ad8bb08c448d4c5fe9e0da75c10642b5d1f Mon Sep 17 00:00:00 2001 From: John Doe Date: Wed, 31 Mar 2021 19:41:10 +0800 Subject: [PATCH] autoupdate: set a wait timer to confirm mount --- scripts/autoupdate.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/autoupdate.sh b/scripts/autoupdate.sh index 315a02f..f1e4d52 100644 --- a/scripts/autoupdate.sh +++ b/scripts/autoupdate.sh @@ -53,6 +53,7 @@ losetup -P $lodev FriendlyWrt.img mkdir -p /mnt/img mount -t ext4 ${lodev}p2 /mnt/img echo -e '\e[92m解压已完成,准备编辑镜像文件,写入备份信息\e[0m' +sleep 10 cd /mnt/img sysupgrade -b back.tar.gz tar zxf back.tar.gz