From e3dde5a96997c7cae1b324f453c76d11a8a23507 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Sun, 25 May 2014 19:15:04 +0200 Subject: Wi-Fi support Signed-off-by: Paul Kocialkowski --- rootdir/init.gta04.rc | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'rootdir/init.gta04.rc') diff --git a/rootdir/init.gta04.rc b/rootdir/init.gta04.rc index b5d9399..d6d0278 100644 --- a/rootdir/init.gta04.rc +++ b/rootdir/init.gta04.rc @@ -62,7 +62,30 @@ on fs on post-fs-data mkdir /data/media 0770 media_rw media_rw + # Wi-Fi + mkdir /data/misc/wifi 0770 wifi wifi + mkdir /data/misc/wifi/sockets 0770 wifi wifi + mkdir /data/misc/dhcp 0770 dhcp dhcp + chown dhcp dhcp /data/misc/dhcp + setprop vold.post_fs_data_done 1 service sdcard /system/bin/sdcard /data/media /mnt/shell/emulated 1023 1023 class late_start + +# Wi-Fi +service wpa_supplicant /system/bin/wpa_supplicant -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf + class main + socket wpa_wlan0 dgram 660 wifi wifi + disabled + oneshot + +service dhcpcd_wlan0 /system/bin/dhcpcd -aABDKL + class main + disabled + oneshot + +service iprenew_wlan0 /system/bin/dhcpcd -n + class main + disabled + oneshot -- cgit v1.2.3