Only enable/disable compcache at boot
Signed-off-by: Eddie Ringle <eddie.ringle@gmail.com>
diff --git a/prebuilt/common/etc/init.local.rc b/prebuilt/common/etc/init.local.rc
index ea900c4..f113f1d 100644
--- a/prebuilt/common/etc/init.local.rc
+++ b/prebuilt/common/etc/init.local.rc
@@ -1,19 +1,5 @@
# CyanogenMod Extras
-# Compcache
-service compcache_on /system/bin/logwrapper /system/bin/sh /system/bin/compcache start
- disabled
- oneshot
-
-service compcache_off /system/bin/logwrapper /system/bin/sh /system/bin/compcache stop
- disabled
- oneshot
-
-on property:persist.service.compcache=1
- start compcache_on
-
-on property:persist.service.compcache=0
- start compcache_off
-
-
-
+on boot
+ # Compcache
+ exec /system/bin/handle_compcache