3.4.8. saveenv - save environment to persistent storage Usage

saveenv [-z] [ENVFS [DIRECTORY]] Synopsis

Save the files in DIRECTORY to the persistent storage device ENVFS.

ENVFS is usually a block in flash but can be any other file. If omitted, DIRECTORY defaults to /env and ENVFS defaults to /dev/env0. Options

-z force the built-in default environment at startup