[package] hostapd,wpa_supplicant: create control interfaces for hostapd_cli and wpa_cli
[openwrt/svn-archive/archive.git] / package / hostapd / files / hostapd.sh
index 1c2fa35e7a115421cbd0edafe866740e644d5aa9..1ce62fd767cacc7e6c984dd87946ceef5a2608bc 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}