OSDN Git Service
(root)
/
android-x86
/
device-generic-common.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'x86/marshmallow-x86' into nougat-x86
[android-x86/device-generic-common.git]
/
init.x86.rc
diff --git
a/init.x86.rc
b/init.x86.rc
index
6ed2264
..
46ede7d
100644
(file)
--- a/
init.x86.rc
+++ b/
init.x86.rc
@@
-1,9
+1,6
@@
-import /init.bluetooth.rc
import /init.superuser.rc
on early-init
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
write /proc/sys/kernel/ctrl-alt-del 1
write /sys/module/xt_qtaguid/parameters/ctrl_write_limited N
@@
-16,17
+13,13
@@
on init
symlink /sdcard /mnt/sdcard
symlink /sdcard /storage/sdcard0
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 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
mkdir /data/misc/wifi 0770 wifi wifi
mkdir /data/misc/wifi/sockets 0770 wifi wifi
mkdir /data/misc/wifi/wpa_supplicant 0770 wifi wifi
@@
-36,12
+29,8
@@
on post-fs-data
# Set indication (checked by vold) that we have finished this action
setprop vold.post_fs_data_done 1
# 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
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
setprop status.battery.state Slow
setprop status.battery.level 5
setprop status.battery.level_raw 50
@@
-90,6
+79,16
@@
service iprenew_eth0 /system/bin/dhcpcd -n
disabled
oneshot
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
service nativebridge /system/bin/enable_nativebridge
class main
disabled
@@
-101,6
+100,11
@@
service powerbtnd /system/bin/powerbtnd
service logcat /system/bin/logcat -v threadtime -f /data/log.txt
class debug
service logcat /system/bin/logcat -v threadtime -f /data/log.txt
class debug
+service btattach /system/bin/btattach
+ class main
+ disabled
+ oneshot
+
service wacom-input /system/bin/wacom-input
disabled
oneshot
service wacom-input /system/bin/wacom-input
disabled
oneshot
@@
-122,12
+126,6
@@
on property:sys.boot_completed=1
write /proc/sys/kernel/ctrl-alt-del 0
exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh bootcomplete
write /proc/sys/kernel/ctrl-alt-del 0
exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh bootcomplete
-on property:init.svc.bluetoothd=running
- exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh hci
-
-on property:init.svc.bluetoothd=stopped
- exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh hci
-
on property:net.dns1=*
exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh netconsole
on property:net.dns1=*
exec -- /system/bin/logwrapper /system/bin/sh /system/etc/init.sh netconsole
@@
-135,6
+133,7
@@
on property:debug.logcat=1
class_start debug
on property:persist.sys.nativebridge=1
class_start debug
on property:persist.sys.nativebridge=1
+ mkdir /data/arm 0775 system system
start nativebridge
on property:persist.sys.nativebridge=0
start nativebridge
on property:persist.sys.nativebridge=0