Home | History | Annotate | Download | only in etc
      1 
      2 on 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 
     16 on boot
     17 
     18     ifup lo
     19     hostname localhost
     20     domainname localdomain
     21 
     22     class_start default
     23 
     24 
     25 service recovery /sbin/recovery
     26 
     27 service adbd /sbin/adbd recovery
     28     disabled
     29 
     30 on property:persist.service.adb.enable=1
     31     start adbd
     32 
     33 on property:persist.service.adb.enable=0
     34     stop adbd
     35