diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-08-24 11:28:16 +0800 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-09-14 00:46:00 +0800 |
commit | 9b22271b7bc1aff16e71705be1a2cc69e9d82089 (patch) | |
tree | f460c1ff888090dac317c8a4c12c5b1189bbdb0f /defaultenv-2 | |
parent | 86df3fcd3011394469b459455b7bcc133b157df4 (diff) | |
download | barebox-9b22271b7bc1aff16e71705be1a2cc69e9d82089.tar.gz barebox-9b22271b7bc1aff16e71705be1a2cc69e9d82089.tar.xz |
defaultenv-2: boot reset linux.bootargs.dyn. and bootm. globalvar
This is need for boot sequence to do not have the previous boot param.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'defaultenv-2')
-rw-r--r-- | defaultenv-2/base/bin/boot | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/defaultenv-2/base/bin/boot b/defaultenv-2/base/bin/boot index 4ebda3f4b2..103eb8767e 100644 --- a/defaultenv-2/base/bin/boot +++ b/defaultenv-2/base/bin/boot @@ -33,6 +33,10 @@ while getopt "vdhl" opt; do fi done +# clear linux.bootargs.dyn.* and bootm.* +global -r linux.bootargs.dyn. +global -r bootm. + if [ $# = 0 ]; then scr="$global.boot.default" else |