
Hi Stefan,
On Wednesday 13 February 2008 09:56, Stefan Roese wrote:
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'?
All the same to me with the name. As always it will be the most complicated part. I have to remember the 'ethrotate' variable :-)
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. :)
Do not get into details :-)
The above output is faked. So I did not start coding :-)
What do you think?
Looks good to me.
I put it on my list.
Matthias