From: Wolfgang Denk Date: Thu, 21 Feb 2008 01:04:44 +0100 Subject: [U-Boot-Users] Delete all env vars except read onlys In-Reply-To: Your message of "Wed, 20 Feb 2008 22:30:02 +0100." <00ca01c8740c$5a7b9fe0$c3031c0a@atmel.com> Message-ID: <20080221000444.F1B3024D0B@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <00ca01c8740c$5a7b9fe0$c3031c0a@atmel.com> you wrote: > > It is a little different though, It will reinitialize the predefined > environment > variables to default settings but will not touch the other. Makes sense. > If "env default" is implemented the same way, then you could get a > 100% clean environment by: > > env clear ; env default I see. > What will "env" do without parameters? As usual: it will print it's "usage" message and return an error code. 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 "If you are afraid of loneliness, don't marry." - Chekhov