2011-04-10 17:20:53 +00:00
|
|
|
on early-init
|
|
|
|
start ueventd
|
|
|
|
|
|
|
|
on init
|
|
|
|
export PATH /sbin
|
|
|
|
export ANDROID_ROOT /system
|
|
|
|
export ANDROID_DATA /data
|
|
|
|
export EXTERNAL_STORAGE /sdcard
|
|
|
|
|
|
|
|
symlink /system/etc /etc
|
|
|
|
|
|
|
|
mkdir /boot
|
|
|
|
mkdir /sdcard
|
|
|
|
mkdir /sd-ext
|
|
|
|
mkdir /datadata
|
|
|
|
mkdir /emmc
|
|
|
|
mkdir /system
|
|
|
|
mkdir /data
|
|
|
|
mkdir /cache
|
|
|
|
mount /tmp /tmp tmpfs
|
|
|
|
|
|
|
|
on boot
|
|
|
|
|
|
|
|
ifup lo
|
|
|
|
hostname localhost
|
|
|
|
domainname localdomain
|
|
|
|
|
|
|
|
class_start default
|
|
|
|
|
|
|
|
service ueventd /sbin/ueventd
|
|
|
|
critical
|
|
|
|
|
|
|
|
service choice_fn /sbin/choice_fn
|
2011-10-23 20:20:50 +00:00
|
|
|
oneshot
|
2011-04-10 17:20:53 +00:00
|
|
|
|
|
|
|
service recovery /sbin/recovery
|
|
|
|
|
|
|
|
service power_test /sbin/power_test
|
2011-10-23 20:20:50 +00:00
|
|
|
disabled
|
|
|
|
oneshot
|
2011-04-10 17:20:53 +00:00
|
|
|
|
|
|
|
service offmode_charging /sbin/offmode_charging
|
2011-10-23 20:20:50 +00:00
|
|
|
disabled
|
|
|
|
oneshot
|
2011-04-10 17:20:53 +00:00
|
|
|
|
|
|
|
service detect_key /sbin/detect_key
|
2011-10-23 20:20:50 +00:00
|
|
|
disabled
|
|
|
|
oneshot
|
2011-07-24 15:37:47 +00:00
|
|
|
|
|
|
|
service htcbatt /sbin/htcbatt
|
2011-10-23 20:20:50 +00:00
|
|
|
oneshot
|
2011-04-10 17:20:53 +00:00
|
|
|
|
|
|
|
service adbd /sbin/adbd recovery
|
|
|
|
|
|
|
|
on property:persist.service.adb.enable=1
|
|
|
|
start adbd
|
|
|
|
|
|
|
|
on property:persist.service.adb.enable=0
|
|
|
|
stop adbd
|