From 602d28f7d6148e72ad1ea652efbcef4765a3009a Mon Sep 17 00:00:00 2001 From: yanistyle Date: Thu, 23 Oct 2025 23:20:26 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20scripts/autoupdate-bash.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/autoupdate-bash.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/autoupdate-bash.sh b/scripts/autoupdate-bash.sh index a1fbe1d..705d4be 100644 --- a/scripts/autoupdate-bash.sh +++ b/scripts/autoupdate-bash.sh @@ -81,7 +81,7 @@ echo -e '\e[92m开始写入,请勿中断...\e[0m' if [ -f FriendlyWrt.img ]; then echo 1 > /proc/sys/kernel/sysrq echo u > /proc/sysrq-trigger && umount / || true - dd if=FriendlyWrt.img of=/dev/$block_device oflag=direct conv=sparse status=progress bs=1M + dd if=FriendlyWrt.img of=/dev/$block_device echo -e '\e[92m刷机完毕,正在重启...\e[0m' echo b > /proc/sysrq-trigger fi