summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/init.rc11
1 files changed, 6 insertions, 5 deletions
diff --git a/etc/init.rc b/etc/init.rc
index 175489066..aeec483a3 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -6,13 +6,13 @@ on early-init
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
-
- mkdir /sdcard
+ mkdir /boot
+ mkdir /recovery
mkdir /system
mkdir /data
mkdir /cache
@@ -55,8 +55,9 @@ service adbd /sbin/adbd recovery
# Always start adbd on userdebug and eng builds
on property:ro.debuggable=1
- write /sys/class/android_usb/android0/enable 1
- start adbd
+ #write /sys/class/android_usb/android0/enable 1
+ #start adbd
+ setprop service.adb.root 1
# Restart adbd so it can run as root
on property:service.adb.root=1