diff options
author | Eric Bénard <eric@eukrea.com> | 2011-01-07 17:35:29 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-08 13:26:48 +0100 |
commit | ec604a5448c0f208061b24583c162f51218ff42d (patch) | |
tree | 50b81c402d8e3599384e50dfdc28fd88ea8e7dbe /defaultenv | |
parent | d15cfafeef8f99ff1a47e77362d0adf1b07f26ae (diff) | |
download | barebox-ec604a5448c0f208061b24583c162f51218ff42d.tar.gz barebox-ec604a5448c0f208061b24583c162f51218ff42d.tar.xz |
defaultenv/bin/update: let /env/config set default values
this patch allows for example device_type to be fixed in /env/config
(useful for configurations with only one memory type).
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'defaultenv')
-rw-r--r-- | defaultenv/bin/update | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/defaultenv/bin/update b/defaultenv/bin/update index 29c240b784..5b35df1315 100644 --- a/defaultenv/bin/update +++ b/defaultenv/bin/update @@ -1,12 +1,12 @@ #!/bin/sh -. /env/config - type="" device_type="" check=n mode=tftp +. /env/config + while getopt "ht:d:f:m:c" Option do if [ ${Option} = t ]; then |