Lines 159-164
Link Here
|
159 |
# directories |
159 |
# directories |
160 |
wpa_supplicant_kill ${iface} true |
160 |
wpa_supplicant_kill ${iface} true |
161 |
|
161 |
|
|
|
162 |
# If wireless-tools is installed, try and apply our user config |
163 |
# This is needed for some drivers - such as hostap because they start |
164 |
# the card in Master mode which causes problems with wpa_supplicant. |
165 |
if [[ $( type -t iwconfig_defaults ) == "function" ]]; then |
166 |
iwconfig_defaults ${iface} |
167 |
iwconfig_user_config ${iface} |
168 |
fi |
169 |
|
162 |
ebegin "Starting wpa_supplicant on ${iface}" |
170 |
ebegin "Starting wpa_supplicant on ${iface}" |
163 |
|
171 |
|
164 |
if [[ ! -f ${cfgfile} ]]; then |
172 |
if [[ ! -f ${cfgfile} ]]; then |