OSDN Git Service

nativebridge: download and mount sfs
[android-x86/device-generic-common.git] / init.x86.rc
index 467c3b8..5814e86 100644 (file)
@@ -2,8 +2,6 @@ import /init.bluetooth.rc
 import /init.superuser.rc
 
 on early-init
-    mount debugfs debugfs /sys/kernel/debug
-    chmod 755 /sys/kernel/debug
     write /proc/sys/kernel/ctrl-alt-del 1
 
     write /sys/module/xt_qtaguid/parameters/ctrl_write_limited N
@@ -19,10 +17,6 @@ on init
     # Backward compatibility
     symlink system/lib /lib
 
-    # device information
-    setprop ro.product.manufacturer $[/sys/class/dmi/id/sys_vendor]
-    setprop ro.product.model $[/sys/class/dmi/id/product_name]
-
     exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh
 
 on fs
@@ -105,6 +99,11 @@ service powerbtnd /system/bin/powerbtnd
 service logcat /system/bin/logcat -v threadtime -f /data/log.txt
     class debug
 
+service btattach /system/bin/btattach -Pbcm
+    class main
+    disabled
+    oneshot
+
 service wacom-input /system/bin/wacom-input
     disabled
     oneshot
@@ -139,7 +138,11 @@ on property:debug.logcat=1
     class_start debug
 
 on property:persist.sys.nativebridge=1
+    mkdir /data/arm 0775 system system
     start nativebridge
 
 on property:persist.sys.nativebridge=0
     stop nativebridge
+
+on property:debug.egl.hw=0
+    setprop ro.kernel.qemu 1