mirror of
https://github.com/stupidloud/nanopi-openwrt.git
synced 2025-06-02 22:49:24 +08:00
autoupdate: set a wait timer to confirm mount
This commit is contained in:
parent
bfe67ee10c
commit
be121ad8bb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user