From 159fc8b4adf4afa56bd6e0483817903923f6a64e Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 10 Dec 2007 16:19:04 +0000 Subject: [PATCH] Fix wpa_supplicant configuring per ssid --- net/wpa_supplicant.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/wpa_supplicant.sh b/net/wpa_supplicant.sh index 77074b0c..e235573d 100644 --- a/net/wpa_supplicant.sh +++ b/net/wpa_supplicant.sh @@ -81,7 +81,7 @@ wpa_supplicant_pre_start() { # We don't configure wireless if we're being called from # the background unless we're not currently running 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}") SSIDVAR=$(_shell_var "${SSID}") save_options "SSID" "${SSID}"