diff --git a/src/freedombone-utils-wifi b/src/freedombone-utils-wifi index 3b84ecff..a333941d 100755 --- a/src/freedombone-utils-wifi +++ b/src/freedombone-utils-wifi @@ -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