compcache: support ramzswap.ko in alternate module paths
Support module placement other than the "modules_install" location. (i.e. /system/lib/modules/ or /system/lib/modules/`uname -r`/) Change-Id: I04c5175b13655c09e1eb9b47fa0745d1cfcb376d
This commit is contained in:
parent
debe972bd9
commit
1818fc345a
@ -4,7 +4,7 @@
|
|||||||
# shade@chemlab.org (cyanogen)
|
# shade@chemlab.org (cyanogen)
|
||||||
#
|
#
|
||||||
|
|
||||||
isramzswap="$(ls -1 /system/lib/modules/2.6.*/kernel/drivers/staging/ramzswap/ramzswap.ko 2>/dev/null)"
|
isramzswap="$(find /system/lib/modules/ -name ramzswap.ko 2>/dev/null)"
|
||||||
|
|
||||||
if [ -n "$isramzswap" ] ; then
|
if [ -n "$isramzswap" ] ; then
|
||||||
MODULE=ramzswap
|
MODULE=ramzswap
|
||||||
|
Loading…
Reference in New Issue
Block a user