summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorArnab Chaudhuri <coolguyforgenerationx@gmail.com>2015-12-25 22:20:05 +0530
committerCaio Schnepper <caioschnepper@gmail.com>2015-12-29 21:10:16 -0800
commit2719b51abc1b80d16b3ea6ff885c99984aa24d44 (patch)
tree8c113f347b7b1a98397cfdfc8344fd0cbf6c67ba /rootdir
parente7f0d2892aa06a27437877b4c80190cf81cafb01 (diff)
downloaddevice_samsung_galaxys2-common-2719b51abc1b80d16b3ea6ff885c99984aa24d44.zip
device_samsung_galaxys2-common-2719b51abc1b80d16b3ea6ff885c99984aa24d44.tar.gz
device_samsung_galaxys2-common-2719b51abc1b80d16b3ea6ff885c99984aa24d44.tar.bz2
galaxys2-common: Update Wi-Fi configuration
Change-Id: I83c0c08e06db8c9275047c9f4c7f6d8c87ec5a68
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.smdk4210.rc19
1 files changed, 9 insertions, 10 deletions
diff --git a/rootdir/init.smdk4210.rc b/rootdir/init.smdk4210.rc
index b399584..acbdece 100644
--- a/rootdir/init.smdk4210.rc
+++ b/rootdir/init.smdk4210.rc
@@ -68,6 +68,7 @@ on post-fs-data
mkdir /data/misc/wifi/sockets 0770 wifi wifi
mkdir /data/misc/dhcp 0770 dhcp dhcp
chown dhcp dhcp /data/misc/dhcp
+ chown wifi root /dev/rfkill
#DRM directory creation
mkdir /system/etc/security/.drm 0775
@@ -344,11 +345,11 @@ service charger /sbin/healthd -c
service p2p_supplicant /system/bin/wpa_supplicant \
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
- -I/system/etc/wifi/wpa_supplicant.conf \
- -O/data/misc/wifi/sockets -N \
- -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf -e/data/misc/wifi/entropy.bin \
+ -I/system/etc/wifi/wpa_supplicant_overlay.conf -N \
+ -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf \
+ -I/system/etc/wifi/p2p_supplicant_overlay.conf \
-puse_p2p_group_interface=1 \
- -g@android:wpa_wlan0
+ -e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0
# we will start as root and wpa_supplicant will switch to user wifi
# after setting up the capabilities required for WEXT
# user wifi
@@ -359,11 +360,9 @@ service p2p_supplicant /system/bin/wpa_supplicant \
oneshot
service wpa_supplicant /system/bin/wpa_supplicant \
- -Dnl80211 -iwlan0 -e/data/misc/wifi/entropy.bin \
- -c/data/misc/wifi/wpa_supplicant.conf \
- -I/system/etc/wifi/wpa_supplicant.conf \
- -O/data/misc/wifi/sockets \
- -g@android:wpa_wlan0
+ -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
+ -I/system/etc/wifi/wpa_supplicant_overlay.conf \
+ -e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0
# we will start as root and wpa_supplicant will switch to user wifi
# after setting up the capabilities required for WEXT
# user wifi
@@ -406,7 +405,7 @@ service iprenew_bt-pan /system/bin/dhcpcd -n
service macloader /system/bin/macloader
class main
oneshot
-
+
# bugreport is triggered by holding down volume down, volume up and power
service bugreport /system/bin/dumpstate -d -p -B \
-o /data/data/com.android.shell/files/bugreports/bugreport