zero-gravitas.h: reset bootcount when failing to boot backup
parent
3229fa88b2
commit
accdf1001e
|
@ -100,7 +100,7 @@
|
||||||
"run memboot; " \
|
"run memboot; " \
|
||||||
"if test ${bootcount} -gt 2; then " \
|
"if test ${bootcount} -gt 2; then " \
|
||||||
"echo WARN: Failed too much, turning off; " \
|
"echo WARN: Failed too much, turning off; " \
|
||||||
"setenv bootcount 1; " \
|
"setenv bootcount 0; " \
|
||||||
"saveenv; " \
|
"saveenv; " \
|
||||||
"poweroff; " \
|
"poweroff; " \
|
||||||
"fi; " \
|
"fi; " \
|
||||||
|
|
Loading…
Reference in New Issue