Fix wpa_supplicant configuring per ssid
This commit is contained in:
parent
39b7394d93
commit
159fc8b4ad
@ -81,7 +81,7 @@ wpa_supplicant_pre_start() {
|
|||||||
# We don't configure wireless if we're being called from
|
# We don't configure wireless if we're being called from
|
||||||
# the background unless we're not currently running
|
# the background unless we're not currently running
|
||||||
if yesno ${IN_BACKGROUND}; then
|
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}")
|
SSID=$(_get_ssid "${IFACE}")
|
||||||
SSIDVAR=$(_shell_var "${SSID}")
|
SSIDVAR=$(_shell_var "${SSID}")
|
||||||
save_options "SSID" "${SSID}"
|
save_options "SSID" "${SSID}"
|
||||||
|
Loading…
Reference in New Issue
Block a user