From 031043ced1fe6adf90d267ca6e96ca1e216612ad Mon Sep 17 00:00:00 2001 From: Attila Lendvai Date: Tue, 26 May 2015 03:32:54 +0200 Subject: [PATCH] smaller pendrives are also accepted. --- image-extras/root/autoprovision-stage1.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image-extras/root/autoprovision-stage1.sh b/image-extras/root/autoprovision-stage1.sh index 1dcaa31..3e42c5f 100755 --- a/image-extras/root/autoprovision-stage1.sh +++ b/image-extras/root/autoprovision-stage1.sh @@ -23,7 +23,7 @@ getPendriveSize() hasBigEnoughPendrive() { local size=$(getPendriveSize) - if [ $size -ge 2000000 ]; then + if [ $size -ge 600000 ]; then log "Found a pendrive of size: $(($size / 2 / 1024)) MB" return 0 else