[package] hostapd,wpa_supplicant: create control interfaces for hostapd_cli and wpa_cli
authoragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 15 Jan 2009 07:50:11 +0000 (07:50 +0000)
committeragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 15 Jan 2009 07:50:11 +0000 (07:50 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14039 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/hostapd/files/hostapd.sh
package/wpa_supplicant/files/wpa_supplicant.sh

index 1c2fa35..1ce62fd 100644 (file)
@@ -85,6 +85,7 @@ hostapd_setup_vif() {
                ;;
        esac
        cat > /var/run/hostapd-$ifname.conf <<EOF
+ctrl_interface=/var/run/hostapd-$ifname
 driver=$driver
 interface=$ifname
 hw_mode=${hwmode:-g}
index 9011adb..519f255 100644 (file)
@@ -58,6 +58,7 @@ wpa_supplicant_setup_vif() {
        config_get bridge "$vif" bridge
        config_get ssid "$vif" ssid
        cat > /var/run/wpa_supplicant-$ifname.conf <<EOF
+ctrl_interface=/var/run/wpa_supplicant-$ifname
 network={
        scan_ssid=1
        ssid="$ssid"
This page took 0.022656 seconds and 4 git commands to generate.