Copy the local (CM-specific) init.rc to /etc
This commit is contained in:
parent
13d5eb880e
commit
a89711a5c1
22
prebuilt/common/etc/init.local.rc
Normal file
22
prebuilt/common/etc/init.local.rc
Normal 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
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -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/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/terminfo/u/unknown:system/etc/terminfo/u/unknown \
|
||||||
vendor/cyanogen/prebuilt/common/etc/profile:system/etc/profile \
|
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/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/01sysctl:system/etc/init.d/01sysctl \
|
||||||
vendor/cyanogen/prebuilt/common/etc/init.d/03firstboot:system/etc/init.d/03firstboot \
|
vendor/cyanogen/prebuilt/common/etc/init.d/03firstboot:system/etc/init.d/03firstboot \
|
||||||
|
Loading…
Reference in New Issue
Block a user