summaryrefslogtreecommitdiff
path: root/init.rc
diff options
context:
space:
mode:
Diffstat (limited to 'init.rc')
-rw-r--r--init.rc30
1 files changed, 30 insertions, 0 deletions
diff --git a/init.rc b/init.rc
new file mode 100644
index 0000000..48cf3ca
--- /dev/null
+++ b/init.rc
@@ -0,0 +1,30 @@
+on init
+ export PATH /sbin:/system/sbin:/system/bin
+ export ANDROID_ROOT /system
+ export ANDROID_DATA /data
+
+ symlink /system/etc /etc
+
+ mkdir /data
+ mkdir /cache
+ mount /tmp /tmp tmpfs
+
+# mount the installer needed partitions
+# mount ext2 /dev/block/sdb2 /data ro
+
+on boot
+ ifup lo
+ hostname localhost
+ domainname localdomain
+
+ class_start default
+
+service installer /system/bin/installer -p /dev/block/sdb2
+ console
+ oneshot
+
+service logcat /system/bin/logcat
+ console
+
+service console /system/bin/sh
+ console