Fix detect CPU arch (from openwrt_release file)

This commit is contained in:
remittor
2022-10-09 17:32:36 +03:00
parent de3f1a9cf7
commit 1a99b72b59
2 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -597,5 +597,6 @@ if kernel.fit:
gw.run_cmd("reboot -f")
print("Force REBOOT activated!")
else:
gw.run_cmd("sync ; umount -a", timeout = 12)
gw.run_cmd("sync ; umount -a", timeout = 5)
print("Please, reboot router!")