summaryrefslogtreecommitdiff
path: root/scripts/create.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-07 08:23:14 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-07 08:23:14 +0200
commitf9a94113d9ca3caf4c5a20b2db9d4b0af3846b2b (patch)
tree1175eec0ec867f52834824f94ad4aeca9bcc79d0 /scripts/create.sh
parent456e12e8fbd7ecddf6c2aa1da4c2df2cf1a42499 (diff)
parent97348d0f106a154f2ca5f1dd5298216ca120aa2d (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts/create.sh')
-rwxr-xr-xscripts/create.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/create.sh b/scripts/create.sh
index 505549247..e3fb7ac45 100755
--- a/scripts/create.sh
+++ b/scripts/create.sh
@@ -55,7 +55,7 @@ Syntax: $me [-c cfgfssize] [+g] [-i imagesize] [-p panictime]
[-s serialspeed] [-t] [-T imagetype] [+U] target.ima source.tgz
Explanation/Defaults:
-c: minimum 0, maximum 5, default 1 (MiB)
- +g: disables installing GNU GRUB 2 (-g enables it, default)
+ -g: enable installing GNU GRUB 2
-i: total image, default 512 (MiB; max. approx. 2 TiB)
-p: default 10 (seconds; 0 disables; max. 300)
-s: default 115200 (bps, others: 9600 19200 38400 57600)
@@ -66,7 +66,7 @@ EOF
}
cfgfs=1
-usegrub=1
+usegrub=0
tgtmib=512
panicreboot=10
speed=115200
@@ -80,7 +80,6 @@ while getopts "c:ghi:p:s:tT:" ch; do
usage
fi ;;
(g) usegrub=1 ;;
- (+g) usegrub=0 ;;
(h) usage 0 ;;
(i) if (( (tgtmib = OPTARG) < 7 || tgtmib > 2097150 )); then
print -u2 "$me: -i $OPTARG out of bounds"