Merge "Support built-in ramzswap" into gingerbread

This commit is contained in:
Steve Kondik 2011-04-09 13:58:54 +04:00 committed by Gerrit Code Review
commit b1e6b44c39

View File

@ -5,8 +5,9 @@
#
isramzswap="$(find /system/lib/modules/ -name ramzswap.ko 2>/dev/null)"
isramzswapbuiltin="$(ls -l /dev/block/ramzswap0 2>/dev/null)"
if [ -n "$isramzswap" ] ; then
if [ -n "$isramzswap$isramzswapbuiltin" ] ; then
MODULE=ramzswap
DEV=/dev/block/ramzswap0
else