diff options
Diffstat (limited to 'net/wpa_supplicant.sh')
-rw-r--r-- | net/wpa_supplicant.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wpa_supplicant.sh b/net/wpa_supplicant.sh index 204557ad..f7c4bc00 100644 --- a/net/wpa_supplicant.sh +++ b/net/wpa_supplicant.sh @@ -66,7 +66,7 @@ wpa_supplicant_pre_start() # the background unless we're not currently running if yesno ${IN_BACKGROUND}; then if ${wireless} && \ - service_started_daemon "${SVCNAME}" "${wpas}"; then + service_started_daemon "${RC_SVCNAME}" "${wpas}"; then SSID=$(_get_ssid "${IFACE}") SSIDVAR=$(shell_var "${SSID}") service_set_value "SSID" "${SSID}" @@ -177,7 +177,7 @@ wpa_supplicant_post_stop() if yesno "${IN_BACKGROUND}"; then # Only stop wpa_supplicant if it's not the controlling daemon - ! service_started_daemon "${SVCNAME}" "${wpas}" 1 + ! service_started_daemon "${RC_SVCNAME}" "${wpas}" 1 fi [ $? != 0 ] && return 0 |