blob: 23ba9481ec52b6cd8c22971e6c82fb01773733d5 [file] [log] [blame]
Colin Crossdd6a0412010-05-14 13:42:20 -07001on early-init
2 start ueventd
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -08003
4on 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
18on boot
19
20 ifup lo
21 hostname localhost
22 domainname localdomain
23
24 class_start default
25
Colin Crossdd6a0412010-05-14 13:42:20 -070026service ueventd /sbin/ueventd
27 critical
The Android Open Source Projectc24a8e62009-03-03 19:28:42 -080028
29service recovery /sbin/recovery
30
31service adbd /sbin/adbd recovery
32
33on property:persist.service.adb.enable=1
34 start adbd
35
36on property:persist.service.adb.enable=0
37 stop adbd