summaryrefslogtreecommitdiffstats
path: root/contrib/netcfg-auto-wireless
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2008-02-13 09:55:57 +0100
committerJames Rayner <james@archlinux.org>2008-02-13 09:55:57 +0100
commit363cb3b63bfe0a91840f34903234037df2aeeb83 (patch)
treeefdb7730c83b9a8b137a8eba0db11701b6b2eb9a /contrib/netcfg-auto-wireless
parent158b5e0225873913b8f5b11ac5e183e89900854e (diff)
downloadnetctl-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-xcontrib/netcfg-auto-wireless1
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