summaryrefslogtreecommitdiffstats
path: root/prebuilt
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2010-07-07 09:06:13 -0400
committerSteve Kondik <shade@chemlab.org>2010-07-07 09:06:13 -0400
commita89711a5c1ec6a863213821140d219920b949104 (patch)
treeac92826affb32b96281954c8cbbc32788f4b8ee5 /prebuilt
parent13d5eb880ec87142524786126e82ca1eee0ebff0 (diff)
downloadvendor_replicant-a89711a5c1ec6a863213821140d219920b949104.zip
vendor_replicant-a89711a5c1ec6a863213821140d219920b949104.tar.gz
vendor_replicant-a89711a5c1ec6a863213821140d219920b949104.tar.bz2
Copy the local (CM-specific) init.rc to /etc
Diffstat (limited to 'prebuilt')
-rw-r--r--prebuilt/common/etc/init.local.rc22
1 files changed, 22 insertions, 0 deletions
diff --git a/prebuilt/common/etc/init.local.rc b/prebuilt/common/etc/init.local.rc
new file mode 100644
index 0000000..9d7652d
--- /dev/null
+++ b/prebuilt/common/etc/init.local.rc
@@ -0,0 +1,22 @@
+# CyanogenMod Extras
+
+# Run scripts in /system/etc/init.d
+ exec /system/xbin/run-parts /system/etc/init.d
+
+# 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
+
+
+