summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2013-10-18 19:10:12 +0200
committerDees Troy <dees_troy@teamw.in>2013-10-18 19:10:12 +0200
commit0cd27a85bcf6fbba16712f656d16697b2fa14ffe (patch)
tree2917b98bf3fea03d5cc67a9661ad71c2ece27a9e /etc
parentfix getting and setting contexts in selinux (diff)
downloadandroid_bootable_recovery-0cd27a85bcf6fbba16712f656d16697b2fa14ffe.tar
android_bootable_recovery-0cd27a85bcf6fbba16712f656d16697b2fa14ffe.tar.gz
android_bootable_recovery-0cd27a85bcf6fbba16712f656d16697b2fa14ffe.tar.bz2
android_bootable_recovery-0cd27a85bcf6fbba16712f656d16697b2fa14ffe.tar.lz
android_bootable_recovery-0cd27a85bcf6fbba16712f656d16697b2fa14ffe.tar.xz
android_bootable_recovery-0cd27a85bcf6fbba16712f656d16697b2fa14ffe.tar.zst
android_bootable_recovery-0cd27a85bcf6fbba16712f656d16697b2fa14ffe.zip
Diffstat (limited to 'etc')
-rwxr-xr-xetc/init.htc.rc65
-rw-r--r--etc/init.rc8
2 files changed, 0 insertions, 73 deletions
diff --git a/etc/init.htc.rc b/etc/init.htc.rc
deleted file mode 100755
index 28aa052fb..000000000
--- a/etc/init.htc.rc
+++ /dev/null
@@ -1,65 +0,0 @@
-on early-init
- start ueventd
-
-on init
- export PATH /sbin
- export LD_LIBRARY_PATH .:/sbin
- export ANDROID_ROOT /system
- export ANDROID_DATA /data
- export EXTERNAL_STORAGE /sdcard
-
- symlink /system/etc /etc
- symlink /sbin/busybox /sbin/sh
-
- chmod 0755 /sbin/busybox
-
- mkdir /sdcard
- mkdir /system
- mkdir /data
- mkdir /data/data
- mkdir /cache
- mkdir /mtdcache
- mkdir /devlog
- mkdir /internal_sdcard
- 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
-disabled
-
-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
- disabled
-
-on property:persist.service.adb.enable=1
- start adbd
-
-on property:persist.service.adb.enable=0
- stop adbd
diff --git a/etc/init.rc b/etc/init.rc
index 57450b1f2..5e5bbf45a 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -10,16 +10,8 @@ on init
export ANDROID_DATA /data
export EXTERNAL_STORAGE /sdcard
- symlink /system/etc /etc
-
mkdir /boot
mkdir /recovery
- mkdir /sdcard
- mkdir /internal_sd
- mkdir /external_sd
- mkdir /sd-ext
- mkdir /datadata
- mkdir /emmc
mkdir /system
mkdir /data
mkdir /cache