diff options
author | James Rayner <james@archlinux.org> | 2009-08-10 12:37:58 +0200 |
---|---|---|
committer | James Rayner <james@archlinux.org> | 2009-08-10 12:37:58 +0200 |
commit | 1400a8362753016dacc699679e8b9daebd3c8513 (patch) | |
tree | b09e758d547b26f47952d74e9807b07e5a4086a7 /src/connections/wireless | |
parent | 5f43ba3cfab8851b2a380d609029b8061ae51bca (diff) | |
download | netctl-1400a8362753016dacc699679e8b9daebd3c8513.tar.gz netctl-1400a8362753016dacc699679e8b9daebd3c8513.tar.xz |
Add interface setting, a debug mode and interface setting hooks
Diffstat (limited to 'src/connections/wireless')
-rw-r--r-- | src/connections/wireless | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connections/wireless b/src/connections/wireless index f7b4b4c..10f751e 100644 --- a/src/connections/wireless +++ b/src/connections/wireless @@ -167,7 +167,7 @@ wireless_down() { [[ "$SECURITY" == "wpa" ]] && rm -f "/tmp/wpa.${PROFILE// /}" # remove wpa config report_debug wireless_down iwconfig "$INTERFACE" essid off key off iwconfig $INTERFACE essid off key off &> /dev/null - ifconfig $INTERFACE down + set_interface down $INTERFACE # If rfkill is specified, disable device. if [[ -n "$RFKILL_NAME" ]]; then |