diff options
Diffstat (limited to 'wpa_actiond/netcfg-wpa_actiond')
-rwxr-xr-x | wpa_actiond/netcfg-wpa_actiond | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_actiond/netcfg-wpa_actiond b/wpa_actiond/netcfg-wpa_actiond index 3f338c6..0e38518 100755 --- a/wpa_actiond/netcfg-wpa_actiond +++ b/wpa_actiond/netcfg-wpa_actiond @@ -16,7 +16,8 @@ case $1 in [[ -z $2 ]] && echo "Please specify an interface to stop" && exit 1 interface=$2 [[ -f "$IFACE_DIR/$interface" ]] && source "$IFACE_DIR/$interface" - stop_wpa $2 + netcfg -i "$interface" + stop_wpa "$interface" kill $(cat "/run/wpa_actiond_${2}.pid") if [[ -n "$RFKILL" ]]; then set_rf_state "$interface" disabled $RFKILL_NAME || exit $? |