Hi Matthias,

On Wednesday 13 February 2008, Matthias Fuchs wrote:
> what about a 'scrubenv' or 'cleanenv' command that tries to unset all
> variables leaving readonlys untouched.

Or 'resetenv'?

> The command could request a confirmation:
>
> => scrubenv
> Do you really want to do this ('yes' or 'no')? yes
> Can't overwrite "serial#"
> Can't overwrite "ethaddr"
> => saveenv

Yes, I was just thinking (while showering, no joke) about this and had the 
same idea with an 'yes' check. :)

> The above output is faked. So I did not start coding :-)
>
> What do you think?

Looks good to me.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: [EMAIL PROTECTED]
=====================================================================

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to