diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-05-25 19:15:04 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2014-05-25 19:15:04 +0200 |
commit | e3dde5a96997c7cae1b324f453c76d11a8a23507 (patch) | |
tree | 9b23da20ee0c3e9227d3e7f890315896c2133072 /rootdir | |
parent | 57311aa6b81dd423e51d582694355d859adc94d9 (diff) | |
download | device_goldelico_gta04-e3dde5a96997c7cae1b324f453c76d11a8a23507.zip device_goldelico_gta04-e3dde5a96997c7cae1b324f453c76d11a8a23507.tar.gz device_goldelico_gta04-e3dde5a96997c7cae1b324f453c76d11a8a23507.tar.bz2 |
Wi-Fi support
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.gta04.rc | 23 |
1 files changed, 23 insertions, 0 deletions
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 |