Quote:
Originally Posted by frostschutz
Oh, I see.
I was wondering how it detected the triple reset, it seems the should-factory-reset does something to the first 512 bytes of the vfat partition... in particular one byte is changed to 00 -> 01 -> 02 -> 03 -> 04 -> 05 (and there it exits with 1) -> 00 -> ... with subsequent calls, so that does look like a counter of sorts.
I guess if nickel starts successfully, that would be reset somehow.
|
This is how it works. I posted the exact information somewhere on the forum, but cannot find the post myself now. (Edit: I found it.
Here it is.)
Quote:
Originally Posted by frostschutz
Edit: you mean autoscript.sh?
|
No, it is autoscript.sh. I choose this more uncommon name to prevent that an autorun.sh that might be there by chance will be run.