smaller pendrives are also accepted.

This commit is contained in:
Attila Lendvai 2015-05-26 03:32:54 +02:00
parent b6ba3db100
commit 031043ced1

View File

@ -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