Обновить scripts/autoupdate-bash.sh

This commit is contained in:
2025-10-23 23:20:26 +03:00
parent f3060db90e
commit 602d28f7d6

View File

@@ -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