Dees_Troy | e00c83a | 2012-09-21 10:00:52 -0400 | [diff] [blame] | 1 | on early-init |
| 2 | start ueventd |
| 3 | |
| 4 | on init |
| 5 | export PATH /sbin |
| 6 | export LD_LIBRARY_PATH .:/sbin |
| 7 | export ANDROID_ROOT /system |
| 8 | export ANDROID_DATA /data |
| 9 | export EXTERNAL_STORAGE /sdcard |
| 10 | |
| 11 | symlink /system/etc /etc |
| 12 | symlink /sbin/busybox /sbin/sh |
| 13 | |
| 14 | chmod 0755 /sbin/busybox |
| 15 | |
| 16 | mkdir /sdcard |
| 17 | mkdir /system |
| 18 | mkdir /data |
| 19 | mkdir /data/data |
| 20 | mkdir /cache |
| 21 | mkdir /mtdcache |
| 22 | mkdir /devlog |
| 23 | mkdir /internal_sdcard |
| 24 | mount /tmp /tmp tmpfs |
| 25 | |
| 26 | on boot |
| 27 | |
| 28 | ifup lo |
| 29 | hostname localhost |
| 30 | domainname localdomain |
| 31 | |
| 32 | class_start default |
| 33 | |
| 34 | service ueventd /sbin/ueventd |
| 35 | critical |
| 36 | |
| 37 | service choice_fn /sbin/choice_fn |
| 38 | oneshot |
| 39 | |
| 40 | service recovery /sbin/recovery |
| 41 | disabled |
| 42 | |
| 43 | service power_test /sbin/power_test |
| 44 | disabled |
| 45 | oneshot |
| 46 | |
| 47 | service offmode_charging /sbin/offmode_charging |
| 48 | disabled |
| 49 | oneshot |
| 50 | |
| 51 | service detect_key /sbin/detect_key |
| 52 | disabled |
| 53 | oneshot |
| 54 | |
| 55 | service htcbatt /sbin/htcbatt |
| 56 | oneshot |
| 57 | |
| 58 | service adbd /sbin/adbd recovery |
| 59 | disabled |
| 60 | |
| 61 | on property:persist.service.adb.enable=1 |
| 62 | start adbd |
| 63 | |
| 64 | on property:persist.service.adb.enable=0 |
| 65 | stop adbd |