install script: do a saveenv before reset

A corner case requires to save the environment so that the
boot command works after reset.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DUB-681
This commit is contained in:
Hector Palacios 2016-10-07 19:03:46 +02:00
parent 934c819fd9
commit 86cb5b15ae
2 changed files with 2 additions and 0 deletions

View File

@ -90,6 +90,7 @@ setenv bootcmd "
echo \"Aborted.\";
exit;
fi;
saveenv;
echo \"\";
echo \"#######################\";
echo \"# Install complete! #\";

View File

@ -90,6 +90,7 @@ setenv bootcmd "
echo \"Aborted.\";
exit;
fi;
saveenv;
echo \"\";
echo \"#######################\";
echo \"# Install complete! #\";