20 lines
745 B
Text
20 lines
745 B
Text
on property:apex.all.ready=true
|
|
mkdir /data/vendor/wifi 0770 wifi wifi
|
|
mkdir /data/vendor/wifi/wpa 0770 wifi wifi
|
|
mkdir /data/vendor/wifi/wpa/sockets 0770 wifi wifi
|
|
|
|
service wpa_supplicant /apex/com.android.hardware.wifi.supplicant.opi5/bin/hw/wpa_supplicant \
|
|
-O/data/vendor/wifi/wpa/sockets -dd \
|
|
-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
|
|
# group wifi inet keystore
|
|
interface aidl android.hardware.wifi.supplicant.ISupplicant/default
|
|
class main
|
|
socket wpa_wlan0 dgram 660 wifi wifi
|
|
user wifi
|
|
group wifi net_raw net_admin
|
|
capabilities NET_RAW NET_ADMIN
|
|
disabled
|
|
oneshot
|