No bridge

This commit is contained in:
Bob Mottram 2014-12-28 15:54:46 +00:00
parent 365c88ca65
commit b7565e5e35
1 changed files with 0 additions and 1 deletions

View File

@ -7201,7 +7201,6 @@ function enable_wifi_hotspot {
sed -i 's|#DAEMON_CONF=.*|DAEMON_CONF="/etc/hostapd/hostapd.conf"|g' /etc/default/hostapd sed -i 's|#DAEMON_CONF=.*|DAEMON_CONF="/etc/hostapd/hostapd.conf"|g' /etc/default/hostapd
echo "interface=$WIFI_INTERFACE" > /etc/hostapd/hostapd.conf echo "interface=$WIFI_INTERFACE" > /etc/hostapd/hostapd.conf
echo 'bridge=br0' >> /etc/hostapd/hostapd.conf
echo "ssid=$WIFI_ESSID" >> /etc/hostapd/hostapd.conf echo "ssid=$WIFI_ESSID" >> /etc/hostapd/hostapd.conf
echo "hw_mode=$WIFI_HOTSPOT_MODE" >> /etc/hostapd/hostapd.conf echo "hw_mode=$WIFI_HOTSPOT_MODE" >> /etc/hostapd/hostapd.conf
echo "channel=${WIFI_HOTSPOT_CHANNEL}" >> /etc/hostapd/hostapd.conf echo "channel=${WIFI_HOTSPOT_CHANNEL}" >> /etc/hostapd/hostapd.conf