diff options
author | Roy Marples <roy@marples.name> | 2008-03-19 19:57:24 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-19 19:57:24 +0000 |
commit | 6159a32f39afc60d88602cc796cef6a395bb78bf (patch) | |
tree | 6b2471081a475c0c42b41bd7aca6a1a0e8fcdbe6 /net/wpa_supplicant.sh | |
parent | 6d2e1f7addcf5ff6594d381845708229086d8d96 (diff) |
SVCNAME -> RC_SVCNAME, but export SVCNAME still for compat.
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 |