wifi interface path

This commit is contained in:
Bob Mottram 2017-06-19 18:41:03 +01:00
parent 0789dc350b
commit 9f1fcdf1fa
1 changed files with 2 additions and 2 deletions

View File

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