hostapd,wpa_supplicant: create control interfaces for hostapd_cli and wpa_cli

SVN-Revision: 14039
This commit is contained in:
Andy Boyett
2009-01-15 07:50:11 +00:00
parent 65f21ce0d3
commit aa59a08b45
2 changed files with 2 additions and 0 deletions

View 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}