diff --git a/click.mk b/click.mk index 0d5e144..5adf80d 100644 --- a/click.mk +++ b/click.mk @@ -69,6 +69,7 @@ PRODUCT_COPY_FILES += \ # precompiled files for /system/bin PRODUCT_COPY_FILES += \ device/htc/click/custom/compcache:system/bin/compcache \ + device/htc/click/custom/handle_compcache:system/bin/handle_compcache \ device/htc/click/custom/rzscontrol:system/bin/rzscontrol # Backup-Tool for install diff --git a/custom/handle_compcache b/custom/handle_compcache new file mode 100644 index 0000000..44ab0b7 --- /dev/null +++ b/custom/handle_compcache @@ -0,0 +1,31 @@ +#!/system/bin/sh +# +# Compcache handler +# Decides whether or not Compcache is enabled +# +MEMTOTAL=$( awk '{ if ($1 eq "MemTotal:") print $2 ;exit }'