1
0
Fork 0

zero-gravitas.h: reset bootcount when failing to boot backup

steinar/yocto-build-makeover
Martin T. H. Sandsmark 2017-08-22 14:40:28 +02:00
parent 3229fa88b2
commit accdf1001e
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@
"run memboot; " \
"if test ${bootcount} -gt 2; then " \
"echo WARN: Failed too much, turning off; " \
"setenv bootcount 1; " \
"setenv bootcount 0; " \
"saveenv; " \
"poweroff; " \
"fi; " \