aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Scott <michael.scott@linaro.org>2014-12-01 01:16:23 +0200
committerdoc <doc.divxm@gmail.com>2014-12-01 01:16:31 +0200
commit3afb7d405889d052b6fc39b4aef55e415a975800 (patch)
tree08b652233e12aa493bdcc43f4ad523ef45ef040d
parent6a6f4977efb0d59d345927d26db593709fb5dbd7 (diff)
otterx: init.otterx.rc changes for Android L
Change-Id: I1933a4329c1eb8af90e552cc67d45c5c0e8be741 Signed-off-by: Michael Scott <michael.scott@linaro.org>
-rw-r--r--init.otterx.rc18
1 files changed, 14 insertions, 4 deletions
diff --git a/init.otterx.rc b/init.otterx.rc
index 028305d..6b6032c 100644
--- a/init.otterx.rc
+++ b/init.otterx.rc
@@ -1,7 +1,11 @@
import init.otterx.usb.rc
+on early-init
+ mount debugfs debugfs /sys/kernel/debug
+ symlink /data/tombstones /tombstones
+
on init
- loglevel 8
+ loglevel 7
# See storage config details at http://source.android.com/tech/storage/
mkdir /mnt/shell/emulated 0700 shell shell
@@ -98,6 +102,8 @@ on fs
chown system system /sys/class/power_supply/usb/device/float_voltage
chown system system /sys/class/power_supply/usb/device/bad_battery
+ chown root system /proc/net/ip_conntrack
+
on post-fs
# wi-fi
setprop wifi.interface "wlan0"
@@ -175,7 +181,7 @@ service hwprops /sbin/hwprops
oneshot
# initialize the SGX driver
-service pvrsrvinit /system/vendor/bin/pvrsrvinit
+service pvrsrvinit /system/bin/pvrsrvinit
class core
user root
group root
@@ -209,6 +215,8 @@ service smc_pa /system/bin/smc_pa_ctrl \
service p2p_supplicant /system/bin/wpa_supplicant -e/data/misc/wifi/entropy.bin \
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf -N \
-ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf \
+ -I/system/etc/wifi/p2p_supplicant_overlay.conf \
+ -O/data/misc/wifi/sockets -puse_p2p_group_interface=1 \
-g@android:wpa_wlan0
class main
socket wpa_wlan0 dgram 660 wifi wifi
@@ -217,7 +225,7 @@ service p2p_supplicant /system/bin/wpa_supplicant -e/data/misc/wifi/entropy.bin
service wpa_supplicant /system/bin/wpa_supplicant \
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf -e/data/misc/wifi/entropy.bin \
- -g@android:wpa_wlan0
+ -O/data/misc/wifi/sockets -g@android:wpa_wlan0
class main
socket wpa_wlan0 dgram 660 wifi wifi
disabled
@@ -267,8 +275,10 @@ service hostapd_bin /system/bin/hostapd -d -e/data/misc/wifi/entropy.bin /data/m
service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated
class late_start
-service charger /charger_otterx
+service charger /sbin/healthd -c
class charger
+ critical
+ seclabel u:r:healthd:s0
#on property:init.svc.smc_pa=stopped
# start tf_daemon