init.cm.rc: Fix startup banner, and move sysinit here

"getprop" depends on the presence of the property workspace
env var, which is created by the first starting service. Why
not make that sysinit itself? (\/) (°,,,°) (\/)
This commit is contained in:
Ricardo Cerqueira 2012-11-23 17:15:16 +00:00
parent ef304547e6
commit 6698e5ebdb
2 changed files with 11 additions and 5 deletions

View File

@ -4,9 +4,7 @@
#
L="log -p i -t cm"
$L "____ _ _ ____ _ _ ____ ____ ____ _ _ _ _ ____ ___";
$L "| \\_/ |__| |\\ | | | | __ |___ |\\ | |\\/| | | | \\";
$L "|___ | | | | \\| |__| |__] |___ | \\| | | |__| |__/";
$L "Welcome to Android `getprop ro.build.version.release` / CyanogenMod-`getprop ro.cm.version`";
$L " _ ";
$L " __ __ _ ___ _ _ __ ___ __ _ _ _ _ __ __))";
$L "((_ \\(/'((_( ((\\( ((_)((_( (('((\\( ((\`1( ((_)((_( ";
$L " )) _))";
$L " ";

View File

@ -11,6 +11,9 @@ on post-fs-data
chmod 0771 /cache/dalvik-cache
on boot
# Run sysinit
start sysinit
chown system system /sys/block/mmcblk0/queue/scheduler
chmod 0664 /sys/block/mmcblk0/queue/scheduler
@ -38,3 +41,8 @@ service compcache /system/bin/handle_compcache
user root
group root
oneshot
# sysinit (/system/etc/init.d)
service sysinit /system/bin/sysinit
user root
oneshot