[U-Boot] user input

Wolfgang Denk wd at denx.de
Mon Oct 26 13:03:21 CET 2009


Dear "David Collier",

In message <memo.20091026105212.2092g at postmaster+dexdyne.com.cix.co.uk> you wrote:
> I have a script environment variable called set_mac_IP which requires me
> to do "setenv sn 1234" ( or whatever ) before I run it.
> 
> The script is always run from the console.
> 
> Is there a simple way to do
> 
> ask sn; .....
> 
> and ask for a number to be input on the console?

Use the "askenv" command?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Old programmers never die, they just become managers.


More information about the U-Boot mailing list