-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
35 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,11 +13,6 @@ on fs | |
mount_all /fstab.rpi3 | ||
|
||
on post-fs-data | ||
# Create the directories used by the Wireless subsystem | ||
mkdir /data/misc/wifi 0770 wifi wifi | ||
mkdir /data/misc/wifi/sockets 0770 wifi wifi | ||
mkdir /data/misc/dhcp 0770 dhcp wifi | ||
|
||
# Bluetooth | ||
chmod 0660 /sys/class/rfkill/rfkill0/state | ||
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state | ||
|
@@ -26,6 +21,16 @@ on post-fs-data | |
# Set indication (checked by vold) that we have finished this action | ||
setprop vold.post_fs_data_done 1 | ||
|
||
on zygote-start | ||
# Create the directories used by the Wireless subsystem | ||
mkdir /data/misc/wifi 0770 wifi wifi | ||
mkdir /data/misc/wifi/wpa_supplicant 0770 wifi wifi | ||
mkdir /data/vendor/wifi 0771 wifi wifi | ||
mkdir /data/vendor/wifi/wpa 0770 wifi wifi | ||
mkdir /data/vendor/wifi/wpa/sockets 0770 wifi wifi | ||
mkdir /data/misc/dhcp 0770 dhcp dhcp | ||
chown dhcp dhcp /data/misc/dhcp | ||
|
||
on boot | ||
setprop net.dns1 8.8.8.8 | ||
setprop net.dns2 8.8.4.4 | ||
|
@@ -40,9 +45,10 @@ on boot | |
start adbd | ||
|
||
service wpa_supplicant /vendor/bin/hw/wpa_supplicant \ | ||
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \ | ||
-iwlan0 -Dnl80211 -c/vendor/etc/wifi/wpa_supplicant.conf \ | ||
-I/system/etc/wifi/wpa_supplicant_overlay.conf \ | ||
-e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0 | ||
-O/data/vendor/wifi/wpa/sockets -g@android:wpa_wlan0 | ||
interface [email protected]::ISupplicant default | ||
class main | ||
socket wpa_wlan0 dgram 660 wifi wifi | ||
disabled | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,8 @@ PRODUCT_PACKAGES += \ | |
memtrack.rpi3 \ | ||
audio.primary.rpi3 \ | ||
audio.usb.default \ | ||
wificond \ | ||
wifilogd \ | ||
wpa_supplicant \ | ||
wpa_supplicant.conf | ||
|
||
|
@@ -41,7 +43,8 @@ PRODUCT_PACKAGES += \ | |
[email protected] \ | ||
[email protected] \ | ||
[email protected] \ | ||
[email protected] | ||
[email protected] \ | ||
[email protected] | ||
|
||
# system configurations | ||
PRODUCT_COPY_FILES := \ | ||
|