diff options
author | James Rayner <james@archlinux.org> | 2008-02-13 09:55:57 +0100 |
---|---|---|
committer | James Rayner <james@archlinux.org> | 2008-02-13 09:55:57 +0100 |
commit | 363cb3b63bfe0a91840f34903234037df2aeeb83 (patch) | |
tree | efdb7730c83b9a8b137a8eba0db11701b6b2eb9a /contrib/netcfg-auto-wireless | |
parent | 158b5e0225873913b8f5b11ac5e183e89900854e (diff) | |
download | netctl-363cb3b63bfe0a91840f34903234037df2aeeb83.tar.gz netctl-363cb3b63bfe0a91840f34903234037df2aeeb83.tar.xz |
Fix automatic wireless for devices that need to be enabled before use (ifconfig $iface up)
Diffstat (limited to 'contrib/netcfg-auto-wireless')
-rwxr-xr-x | contrib/netcfg-auto-wireless | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/netcfg-auto-wireless b/contrib/netcfg-auto-wireless index e4cf869..5660dcd 100755 --- a/contrib/netcfg-auto-wireless +++ b/contrib/netcfg-auto-wireless @@ -14,6 +14,7 @@ wifi_auto() INTERFACE=$1; RETRIES=6 stat_busy "Scanning for networks" + ifconfig $INTERFACE up networks="$(list_networks $INTERFACE)" if [[ ! "$networks" ]]; then |