zero-gravitas.h: reset bootcount when failing to boot backup
parent
3229fa88b2
commit
accdf1001e
|
@ -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; " \
|
||||
|
|
Loading…
Reference in New Issue