diff options
author | wjb <jaybob413@gmail.com> | 2011-04-05 12:23:45 -0400 |
---|---|---|
committer | wjb <jaybob413@gmail.com> | 2011-04-05 12:29:30 -0400 |
commit | 1818fc345a56da1f4a478d4d218b678f18c35deb (patch) | |
tree | a8ccf1b06f03f0d51cdbf2091f833b1466a4fbb1 /prebuilt/common/bin | |
parent | debe972bd973d3f48d26bccdb1dbb29c4b6f5d7f (diff) | |
download | vendor_replicant-1818fc345a56da1f4a478d4d218b678f18c35deb.zip vendor_replicant-1818fc345a56da1f4a478d4d218b678f18c35deb.tar.gz vendor_replicant-1818fc345a56da1f4a478d4d218b678f18c35deb.tar.bz2 |
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
Diffstat (limited to 'prebuilt/common/bin')
-rwxr-xr-x | prebuilt/common/bin/compcache | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prebuilt/common/bin/compcache b/prebuilt/common/bin/compcache index 36540c2..99be773 100755 --- a/prebuilt/common/bin/compcache +++ b/prebuilt/common/bin/compcache @@ -4,7 +4,7 @@ # 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 MODULE=ramzswap |