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? (\/) (°,,,°) (\/)
diff --git a/prebuilt/common/etc/init.d/00banner b/prebuilt/common/etc/init.d/00banner
index ed2f4b7..a04ef18 100644
--- a/prebuilt/common/etc/init.d/00banner
+++ b/prebuilt/common/etc/init.d/00banner
@@ -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 " ";
diff --git a/prebuilt/common/etc/init.local.rc b/prebuilt/common/etc/init.local.rc
index 2a31cc3..e5f5549 100644
--- a/prebuilt/common/etc/init.local.rc
+++ b/prebuilt/common/etc/init.local.rc
@@ -11,6 +11,9 @@
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 @@
user root
group root
oneshot
+
+# sysinit (/system/etc/init.d)
+service sysinit /system/bin/sysinit
+ user root
+ oneshot