
24 Jan
2012
24 Jan
'12
10:07 a.m.
What is the behavior of test command when the variable is not present in the uboot env
set x if test $x = 1; then echo "Yes"; else echo "No"; fi
in the above case I get Yes echoed back.
Is there any way to test the presence of a variable in uboot script?
Thanks Sridhar