aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-10 16:19:04 +0000
committerRoy Marples <roy@marples.name>2007-12-10 16:19:04 +0000
commit159fc8b4adf4afa56bd6e0483817903923f6a64e (patch)
tree792c39373770c2c7f7c3e88ea0d645fc521b540f /net
parent39b7394d93be88f1694f46f6e0f4c5205eeff96d (diff)
Fix wpa_supplicant configuring per ssid
Diffstat (limited to 'net')
-rw-r--r--net/wpa_supplicant.sh2
1 files changed, 1 insertions, 1 deletions
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}"