From 6159a32f39afc60d88602cc796cef6a395bb78bf Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 19 Mar 2008 19:57:24 +0000 Subject: SVCNAME -> RC_SVCNAME, but export SVCNAME still for compat. --- net/wpa_supplicant.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net') 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 -- cgit v1.2.3