[package] hostapd,wpa_supplicant: create control interfaces for hostapd_cli and wpa_cli
[10.03/openwrt.git] / package / hostapd / files / hostapd.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}