From 606f995d46d12bb6ba284cbcde6abc4ac24484cd Mon Sep 17 00:00:00 2001 From: John Doe Date: Fri, 12 Mar 2021 23:35:03 +0800 Subject: [PATCH] update: cover warnings --- scripts/autoupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/autoupdate.sh b/scripts/autoupdate.sh index 52438a3..b66434e 100644 --- a/scripts/autoupdate.sh +++ b/scripts/autoupdate.sh @@ -52,7 +52,7 @@ lodev=$(losetup -f) offset=`expr $(fdisk -l -u FriendlyWrt.img | tail -n1 | awk '{print $2}') \* 512` losetup -o $offset $lodev FriendlyWrt.img mkdir -p /mnt/img -mount $lodev /mnt/img +mount -t ext4 $lodev /mnt/img echo -e '\e[92m解压已完成,准备编辑镜像文件,写入备份信息\e[0m' cd /mnt/img sysupgrade -b back.tar.gz