From ec604a5448c0f208061b24583c162f51218ff42d Mon Sep 17 00:00:00 2001 From: Eric Bénard Date: Fri, 7 Jan 2011 17:35:29 +0100 Subject: defaultenv/bin/update: let /env/config set default values MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Sascha Hauer --- defaultenv/bin/update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'defaultenv') 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 -- cgit v1.2.3