--- /lib/rc/net/wpa_supplicant.sh.old 2008-08-27 03:20:19.000000000 +0200 +++ /lib/rc/net/wpa_supplicant.sh 2008-08-27 04:02:32.000000000 +0200 @@ -175,9 +175,8 @@ if yesno "${IN_BACKGROUND}"; then # Only stop wpa_supplicant if it's not the controlling daemon - ! service_started_daemon "${RC_SVCNAME}" "${wpas}" 1 + service_started_daemon "${RC_SVCNAME}" "${wpas}" 0 || return 0 fi - [ $? != 0 ] && return 0 local pidfile="/var/run/wpa_cli-${IFACE}.pid" if [ -f ${pidfile} ]; then