wpa_supplicant: Add ctrl_interface
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 18 Aug 2017 17:50:36 +0000 (17:50 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 18 Aug 2017 17:50:36 +0000 (17:50 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.wireless-networks

index 66e906c..5a09002 100644 (file)
@@ -346,6 +346,9 @@ wireless_networks_write_wpa_supplicant_configuration() {
        (
                config_header "WPA supplicant configuration file"
 
+               # Set control socket directory.
+               print "ctrl_interface=${WPA_SUPPLICANT_SOCKET_DIR}"
+
                # Honour country
                if isset country; then
                        print "country=${country}"