194 |
[[ -f /etc/conf.d/wpa_supplicant ]] && source /etc/conf.d/wpa_supplicant |
[[ -f /etc/conf.d/wpa_supplicant ]] && source /etc/conf.d/wpa_supplicant |
195 |
|
|
196 |
# check the configuration |
# check the configuration |
197 |
[[ -z ${WIRELESS_WPA_CONFIG} ]] && WIRELESS_WPA_CONFIG=/etc/wpa_supplicant.auto |
[[ -z ${WIRELESS_WPA_CONFIG} ]] && WIRELESS_WPA_CONFIG=/etc/wpa_supplicant/wpa_supplicant.auto |
198 |
[[ -z ${WIRELESS_WPA_SKEL} ]] && WIRELESS_WPA_SKEL=/etc/conf.d/wpa_supplicant.skel |
[[ -z ${WIRELESS_WPA_SKEL} ]] && WIRELESS_WPA_SKEL=/etc/conf.d/wpa_supplicant.skel |
199 |
|
|
200 |
# use wext as default driver, do not abort here anymore |
# use wext as default driver, do not abort here anymore |
356 |
fi |
fi |
357 |
|
|
358 |
# first check for brctl |
# first check for brctl |
359 |
if [[ -z $(which brctl) ]] |
if [[ -z $(type -P brctl) ]] |
360 |
then |
then |
361 |
rc_echo "brctl not found! Please install 'net-misc/bridge-utils'." |
rc_echo "brctl not found! Please install 'net-misc/bridge-utils'." |
362 |
return 1 |
return 1 |