From 5d3dc80a517e9704921f1d09a43e5988075e7c38 Mon Sep 17 00:00:00 2001 From: Xavion Date: Sun, 19 Jun 2011 18:44:23 +0200 Subject: netcfg-wpa_actiond: properly stop netcfg profile (FS#23293) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémy Oudompheng --- wpa_actiond/netcfg-wpa_actiond | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wpa_actiond/netcfg-wpa_actiond') 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 $? -- cgit v1.2.3-24-g4f1b