[U-Boot-Users] Delete all env vars except read onlys

Stefan Roese sr at denx.de
Wed Feb 13 11:13:07 CET 2008


On Wednesday 13 February 2008, Markus Klotzbücher wrote:
> > => scrubenv
> > Do you really want to do this ('yes' or 'no')? yes
>
> Such a confirmation is not very Unix-like and will prevent this command
> to be used in scripts. I like the idea of a scrubenv/resetenv command
> but vote for leaving out the confirmation.
>
> U-Boot provides many, much more serious ways to blow you foot off which
> don't ask such questions.

Sure. But not by "just" typing one command. Or at least I don't know those 
kind of destructive commands.

So I still would like to see the extra check.

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: office at denx.de
=====================================================================




More information about the U-Boot mailing list