Copy the local (CM-specific) init.rc to /etc

This commit is contained in:
Steve Kondik 2010-07-07 09:06:13 -04:00
parent 13d5eb880e
commit a89711a5c1
2 changed files with 23 additions and 0 deletions

View File

@ -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

View File

@ -60,6 +60,7 @@ PRODUCT_COPY_FILES += \
vendor/cyanogen/prebuilt/common/etc/terminfo/l/linux:system/etc/terminfo/l/linux \
vendor/cyanogen/prebuilt/common/etc/terminfo/u/unknown:system/etc/terminfo/u/unknown \
vendor/cyanogen/prebuilt/common/etc/profile:system/etc/profile \
vendor/cyanogen/prebuilt/common/etc/init.local.rc:system/etc/init.local.rc \
vendor/cyanogen/prebuilt/common/etc/init.d/00banner:system/etc/init.d/00banner \
vendor/cyanogen/prebuilt/common/etc/init.d/01sysctl:system/etc/init.d/01sysctl \
vendor/cyanogen/prebuilt/common/etc/init.d/03firstboot:system/etc/init.d/03firstboot \