[U-Boot-Users] script examples...

Marc Singer elf at buici.com
Mon Jun 23 21:37:34 CEST 2003


Do you mean a shell script?

Like,

  [ -f PATH ] && EXEC_THIS_COMMAND
  [ ! -f PATH ] && EXEC_ANOTHER_COMMAND

On Mon, Jun 23, 2003 at 03:18:54PM -0400, Michael Frey wrote:
> Does anyone have an example of a script that does conditional work 
> (i.e. if then else stuff)?
> 
> I want to have a script that checks for a file on an MMC card and do 
> something if there  and if not there do another.




More information about the U-Boot mailing list