Fix wpa_supplicant configuring per ssid

This commit is contained in:
Roy Marples 2007-12-10 16:19:04 +00:00
parent 39b7394d93
commit 159fc8b4ad

View File

@ -81,7 +81,7 @@ wpa_supplicant_pre_start() {
# We don't configure wireless if we're being called from # We don't configure wireless if we're being called from
# the background unless we're not currently running # the background unless we're not currently running
if yesno ${IN_BACKGROUND}; then if yesno ${IN_BACKGROUND}; then
if service_started_daemon "${SVCNAME}" /sbin/wpa_supplicant; then if service_started_daemon "${SVCNAME}" "${wpas}"; then
SSID=$(_get_ssid "${IFACE}") SSID=$(_get_ssid "${IFACE}")
SSIDVAR=$(_shell_var "${SSID}") SSIDVAR=$(_shell_var "${SSID}")
save_options "SSID" "${SSID}" save_options "SSID" "${SSID}"