Ticket #107: openrc-wpa_supplicant.patch

File openrc-wpa_supplicant.patch, 0 bytes (added by Stefan Hellermann <stefan@the2masters.de>, 2 years ago)

wrong patch

  • /lib/rc/net/wpa_supplicant.sh

    old new  
    177177                # Only stop wpa_supplicant if it's not the controlling daemon 
    178178                ! service_started_daemon "${RC_SVCNAME}" "${wpas}" 1 
    179179        fi 
    180         [ $? != 0 ] && return 0 
     180        [ $? == 0 ] && return 0 
    181181 
    182182        local pidfile="/var/run/wpa_cli-${IFACE}.pid" 
    183183        if [ -f ${pidfile} ]; then