Comment 2 for bug 497499

Revision history for this message
Roland Dreier (roland.dreier) wrote :

I'm reopening this because as far as I can tell, the fix that was put in is bogus -- the code now reads:

if [ -z "$MEM" ]; then
        [ $(grep "^MemTotal" /proc/meminfo | awk '{print $2}') -gt 1000000 ] && MEM=512 || MEM=256
else
        MEM=256
fi

and that "else" clause is wrong. The whole point is that we don't want to set MEM if it is already set.