wpa_supplicant interface

This commit is contained in:
Bob Mottram 2017-06-19 18:12:05 +01:00
parent 3b4f1ac3d9
commit 04b7671b91
1 changed files with 4 additions and 2 deletions

View File

@ -378,7 +378,8 @@ function wifi_none {
echo '' >> /etc/network/interfaces
wifi_static_network_interface
echo 'update_config=1' > $WIFI_CONFIG
echo 'ctrl_interface=/var/run/wpa_supplicant' > $WIFI_CONFIG
echo 'update_config=1' >> $WIFI_CONFIG
echo 'eapol_version=1' >> $WIFI_CONFIG
echo '' >> $WIFI_CONFIG
@ -423,7 +424,8 @@ function networks_from_file {
rm -f $WIFI_CONFIG
fi
echo 'update_config=1' > $WIFI_CONFIG
echo 'ctrl_interface=/var/run/wpa_supplicant' > $WIFI_CONFIG
echo 'update_config=1' >> $WIFI_CONFIG
echo 'eapol_version=1' >> $WIFI_CONFIG
echo '' >> $WIFI_CONFIG