aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Wendt <thoemy@gmx.net>2015-02-23 00:04:21 +0100
committereyosen <abittin@gmail.com>2015-02-28 11:38:36 +0200
commita5ddb1a39a13ffa4514ed6c68e859c577ed72285 (patch)
tree4f36206dcb93f00db7270bd2bacd0736a9d8787d
parentc5d08f0c3a698a5781f953cbf145589c16544760 (diff)
endeavoru: init: Shutdown services properly for device encryption
Change-Id: I1d0d4f3efb4303ea37adda6559fdf63117384f79
-rw-r--r--ramdisk/init.endeavoru.rc9
1 files changed, 8 insertions, 1 deletions
diff --git a/ramdisk/init.endeavoru.rc b/ramdisk/init.endeavoru.rc
index c3ac47f..ba74fd2 100644
--- a/ramdisk/init.endeavoru.rc
+++ b/ramdisk/init.endeavoru.rc
@@ -253,26 +253,32 @@ service p2p_supplicant /system/bin/wpa_supplicant \
oneshot
service dhcpcd_wlan0 /system/bin/dhcpcd -ABDKL
+ class main
disabled
oneshot
service iprenew_wlan0 /system/bin/dhcpcd -n
+ class main
disabled
oneshot
service dhcpcd_p2p /system/bin/dhcpcd -aABKL
+ class main
disabled
oneshot
service iprenew_p2p /system/bin/dhcpcd -n
+ class main
disabled
oneshot
service dhcpcd_eth0 /system/bin/dhcpcd -ABKL
+ class main
disabled
oneshot
service hostapd_bin /system/bin/hostapd -d /data/misc/wifi/hostapd.conf
+ class main
socket wpa_wlan0 dgram 660 wifi wifi
disabled
oneshot
@@ -359,7 +365,7 @@ service gsm0710mux /system/bin/gsm0710muxd -s /dev/ttyACM0 -v 5 -n 8 -m basic
disabled
service nvm-server /system/bin/nvm_server
- class core
+ class main
cgroup bg
socket nvm-ctl stream 660 radio radio
user root
@@ -367,6 +373,7 @@ service nvm-server /system/bin/nvm_server
oneshot
service hdmid /system/bin/hdmid
+ class main
socket displayd stream 0660 root system graphics
disabled