Revert "fix bug 266395"
This reverts commit 1a188f8f72
.
This revert fixes bug #334663.
This commit is contained in:
parent
b232e529f1
commit
f700243016
@ -183,11 +183,9 @@ wpa_supplicant_post_stop()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if yesno "${IN_BACKGROUND}"; then
|
if yesno "${IN_BACKGROUND}"; then
|
||||||
# Don't stop wpa_supplicant & wpa_cli if in background
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
# Only stop wpa_supplicant if it's not the controlling daemon
|
# Only stop wpa_supplicant if it's not the controlling daemon
|
||||||
! service_started_daemon "${RC_SVCNAME}" "${wpas}" 1
|
! service_started_daemon "${RC_SVCNAME}" "${wpas}" 1
|
||||||
|
fi
|
||||||
[ $? != 0 ] && return 0
|
[ $? != 0 ] && return 0
|
||||||
|
|
||||||
local pidfile="/var/run/wpa_cli-${IFACE}.pid"
|
local pidfile="/var/run/wpa_cli-${IFACE}.pid"
|
||||||
|
Loading…
Reference in New Issue
Block a user