Colin Cross | dd6a041 | 2010-05-14 13:42:20 -0700 | [diff] [blame] | 1 | on early-init |
| 2 | start ueventd |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 3 | |
| 4 | on init |
| 5 | export PATH /sbin |
| 6 | export ANDROID_ROOT /system |
| 7 | export ANDROID_DATA /data |
| 8 | export EXTERNAL_STORAGE /sdcard |
| 9 | |
| 10 | symlink /system/etc /etc |
| 11 | |
| 12 | mkdir /sdcard |
| 13 | mkdir /system |
| 14 | mkdir /data |
| 15 | mkdir /cache |
| 16 | mount /tmp /tmp tmpfs |
| 17 | |
| 18 | on boot |
| 19 | |
| 20 | ifup lo |
| 21 | hostname localhost |
| 22 | domainname localdomain |
| 23 | |
| 24 | class_start default |
| 25 | |
Colin Cross | dd6a041 | 2010-05-14 13:42:20 -0700 | [diff] [blame] | 26 | service ueventd /sbin/ueventd |
| 27 | critical |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 28 | |
| 29 | service recovery /sbin/recovery |
| 30 | |
| 31 | service adbd /sbin/adbd recovery |
| 32 | |
| 33 | on property:persist.service.adb.enable=1 |
| 34 | start adbd |
| 35 | |
| 36 | on property:persist.service.adb.enable=0 |
| 37 | stop adbd |