--- a/netcfg-wpa_actiond +++ b/netcfg-wpa_actiond @@ -16,6 +16,7 @@ [[ -z $2 ]] && echo "Please specify an interface to stop" && exit 1 interface=$2 [[ -f "$IFACE_DIR/$interface" ]] && source "$IFACE_DIR/$interface" + netcfg -i $interface stop_wpa $2 kill $(cat "/var/run/wpa_actiond_${2}.pid") if [[ -n "$RFKILL" ]]; then