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>
This commit is contained in:
parent
d15cfafeef
commit
ec604a5448
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue