
Dear Robin,
in message 3F601160.5050803@tait.co.nz you wrote:
I've RTFM'd and I've FAQ'd but I still can't find a single example of the use of conditionals with the u-boot hush shell command line.
man sh :-)
I assume its only usable with an autoscript or can environmental
What makes you think so?
variables hold complete conditional blocks. Most interested in this so that I can make sensible decisions about what to do if an image CRC is bad for example (or when to boot a different image after an upgrade).
You can use conditionals everywhere: in interactive input, in environment variables, in scripts ....
Examples, examples, examples is what I'm looking for rather than a dry explanation about hush (which I can get close to from any book that documents bash!!)
See http://www.denx.de/twiki/bin/view/DULG/CommandLineParsing#Section_12.1.7.3.
Best regards,
Wolfgang Denk