This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
on init |
| 2 |
export PATH /sbin:/system/sbin:/system/bin |
| 3 |
export ANDROID_ROOT /system |
| 4 |
export ANDROID_DATA /data |
| 5 |
|
| 6 |
symlink /system/etc /etc |
| 7 |
|
| 8 |
mkdir /data |
| 9 |
mkdir /cache |
| 10 |
mount /tmp /tmp tmpfs |
| 11 |
|
| 12 |
# mount the installer needed partitions |
| 13 |
# mount ext2 /dev/block/sdb2 /data ro |
| 14 |
|
| 15 |
on boot |
| 16 |
ifup lo |
| 17 |
hostname localhost |
| 18 |
domainname localdomain |
| 19 |
|
| 20 |
class_start default |
| 21 |
|
| 22 |
service installer /system/bin/installer -p /dev/block/sdb2 |
| 23 |
console |
| 24 |
oneshot |
| 25 |
|
| 26 |
service logcat /system/bin/logcat |
| 27 |
console |
| 28 |
|
| 29 |
service console /system/bin/sh |
| 30 |
console |