X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fdevice-generic-common.git;a=blobdiff_plain;f=init.x86.rc;h=b79a42abd5dd7d4e840c04872dd7b821e44a3e99;hp=3c6a43be7a4e9c9b749f61e5ed996cd0cd67478a;hb=97b0ef29fce15a17bc0a1689b5d29ff5e952f1fc;hpb=257ca71f7510a60c04d39641ca7eba2cbc4b3b46 diff --git a/init.x86.rc b/init.x86.rc index 3c6a43b..b79a42a 100644 --- a/init.x86.rc +++ b/init.x86.rc @@ -14,17 +14,13 @@ on init symlink /sdcard /mnt/sdcard symlink /sdcard /storage/sdcard0 - # Backward compatibility - symlink system/lib /lib - - exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh - on fs mount_all /fstab.${ro.hardware} -on post-fs-data - sysclktz 1 +on post-fs + exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh +on post-fs-data mkdir /data/misc/wifi 0770 wifi wifi mkdir /data/misc/wifi/sockets 0770 wifi wifi mkdir /data/misc/wifi/wpa_supplicant 0770 wifi wifi @@ -34,12 +30,8 @@ on post-fs-data # Set indication (checked by vold) that we have finished this action setprop vold.post_fs_data_done 1 -on early-boot - readprops /x86.prop - on boot setprop ro.radio.use-ppp yes - setprop ro.radio.noril no setprop status.battery.state Slow setprop status.battery.level 5 setprop status.battery.level_raw 50 @@ -88,6 +80,16 @@ service iprenew_eth0 /system/bin/dhcpcd -n disabled oneshot +service dhcpcd_bt-pan /system/bin/dhcpcd -BKLG + class late_start + disabled + oneshot + +service iprenew_bt-pan /system/bin/dhcpcd -n + class late_start + disabled + oneshot + service nativebridge /system/bin/enable_nativebridge class main disabled @@ -99,6 +101,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 @@ -133,6 +140,7 @@ 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