summaryrefslogtreecommitdiffstats
path: root/package/wpa_supplicant/files
diff options
context:
space:
mode:
authoragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-15 07:50:11 +0000
committeragb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-15 07:50:11 +0000
commit598f0853688102bebdea4daaf88bf2e495353c0a (patch)
tree7d1750ee9a5154feddc56457a96a12bc70836d22 /package/wpa_supplicant/files
parentc857d0f9d5062b9e532cdaea54d1212dabf8ee5d (diff)
[package] hostapd,wpa_supplicant: create control interfaces for hostapd_cli and wpa_cli
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14039 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/wpa_supplicant/files')
-rw-r--r--package/wpa_supplicant/files/wpa_supplicant.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/wpa_supplicant/files/wpa_supplicant.sh b/package/wpa_supplicant/files/wpa_supplicant.sh
index 9011adb2d..519f2553a 100644
--- a/package/wpa_supplicant/files/wpa_supplicant.sh
+++ b/package/wpa_supplicant/files/wpa_supplicant.sh
@@ -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"