android_bootable_recovery/etc/init.htc.rc
Koushik Dutta 04fae9d67e fix the disabled states in init.htc.rc....
Change-Id: I475f470bc9d638383f0fd69ba0c43fe7c7928179
2011-10-23 13:20:50 -07:00

60 lines
966 B
Plaintext

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
oneshot
service recovery /sbin/recovery
service power_test /sbin/power_test
disabled
oneshot
service offmode_charging /sbin/offmode_charging
disabled
oneshot
service detect_key /sbin/detect_key
disabled
oneshot
service htcbatt /sbin/htcbatt
oneshot
service adbd /sbin/adbd recovery
on property:persist.service.adb.enable=1
start adbd
on property:persist.service.adb.enable=0
stop adbd