Commit 387af1aa authored by Igor Pecovnik's avatar Igor Pecovnik
Browse files

syntax typo

parent b9281d34
...@@ -127,7 +127,7 @@ while true; do ...@@ -127,7 +127,7 @@ while true; do
[[ $? = 0 ]] && service hostapd stop && sed -i "s/^DAEMON_CONF=.*/DAEMON_CONF=/" /etc/init.d/hostapd [[ $? = 0 ]] && service hostapd stop && sed -i "s/^DAEMON_CONF=.*/DAEMON_CONF=/" /etc/init.d/hostapd
else else
# change special adapters to AP mode # change special adapters to AP mode
wlan_exceptions ("on") wlan_exceptions "on"
# check for WLAN interfaces # check for WLAN interfaces
get_wlan_interface get_wlan_interface
# display dialog # display dialog
...@@ -242,7 +242,7 @@ while true; do ...@@ -242,7 +242,7 @@ while true; do
"Wireless" ) "Wireless" )
# disable AP mode on certain adapters # disable AP mode on certain adapters
wlan_exceptions ("off") wlan_exceptions "off"
# scan for wifi modules # scan for wifi modules
array=( $(iw dev | grep Interface | sed -e "s/\tInterface//") ) array=( $(iw dev | grep Interface | sed -e "s/\tInterface//") )
declared_wlans=0; declared_wlans=0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment