autoupdate: wait longer to unmount the rootfs

This commit is contained in:
John Doe
2021-04-01 17:39:56 +08:00
parent 0d81f1b614
commit 7c77d67fe8

View File

@@ -66,7 +66,7 @@ echo -e '\e[92m备份文件已经写入移除挂载\e[0m'
cd /tmp/upg
umount /mnt/img
sleep 2
sleep 5
umount ${lodev}p1
umount ${lodev}p2
e2fsck -pf ${lodev}p2 || true