
12 Feb
2008
12 Feb
'08
9:44 a.m.
Hi,
I am wondering if there is a way to delete all environment variables but not the readonly ones. The common way to delete all variables is to make the environment CRC invalid an do a reset. After reset a saveenv saves a default environment.
What I want to do is to delete all variables (preferable from an autoscr script) but not the vendor variables like serial# and eth?addr.
Wildcards in the setenv parameters would solve this issue, but chars like '*' or '?' are valid chars for environment variables.
Any idea?
Matthias