blob: d9e86d75e1b25f163fd67f0a6f95f6cd72d1ae69 [file] [log] [blame]
The Android Open Source Project23580ca2008-10-21 07:00:00 -07001
2on init
3 export PATH /sbin
4 export ANDROID_ROOT /system
5 export ANDROID_DATA /data
6 export EXTERNAL_STORAGE /sdcard
7
8 symlink /system/etc /etc
9
10 mkdir /sdcard
11 mkdir /system
12 mkdir /data
13 mkdir /cache
14 mount /tmp /tmp tmpfs
15
16on boot
17
18 ifup lo
19 hostname localhost
20 domainname localdomain
21
22 class_start default
23
24
25service recovery /sbin/recovery
26
27service adbd /sbin/adbd recovery
28
29on property:persist.service.adb.enable=1
30 start adbd
31
32on property:persist.service.adb.enable=0
33 stop adbd