blob: 28aa052fb84ec44ad82931edf909b0e7de50d5ba [file] [log] [blame]
Dees_Troye00c83a2012-09-21 10:00:52 -04001on early-init
2 start ueventd
3
4on 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
26on boot
27
28 ifup lo
29 hostname localhost
30 domainname localdomain
31
32 class_start default
33
34service ueventd /sbin/ueventd
35 critical
36
37service choice_fn /sbin/choice_fn
38oneshot
39
40service recovery /sbin/recovery
41disabled
42
43service power_test /sbin/power_test
44disabled
45oneshot
46
47service offmode_charging /sbin/offmode_charging
48disabled
49oneshot
50
51service detect_key /sbin/detect_key
52disabled
53oneshot
54
55service htcbatt /sbin/htcbatt
56oneshot
57
58service adbd /sbin/adbd recovery
59 disabled
60
61on property:persist.service.adb.enable=1
62 start adbd
63
64on property:persist.service.adb.enable=0
65 stop adbd