summaryrefslogtreecommitdiffstats
path: root/contrib/netcfg-auto-wireless
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2008-01-06 05:15:42 +0100
committerJames Rayner <james@archlinux.org>2008-01-06 05:15:42 +0100
commit4997f3a7b48c41f6b4a78e11210106037545ddc2 (patch)
treec6f1bc4b36370e275104a7526573849057dfe223 /contrib/netcfg-auto-wireless
parent9f37f0b195fd75dd8a940f6478c5dcee8a5db4e3 (diff)
downloadnetctl-4997f3a7b48c41f6b4a78e11210106037545ddc2.tar.gz
netctl-4997f3a7b48c41f6b4a78e11210106037545ddc2.tar.xz
Added "automatic wireless" support and sort of 'cleaned' up rc.d/net-profiles
Diffstat (limited to 'contrib/netcfg-auto-wireless')
-rwxr-xr-xcontrib/netcfg-auto-wireless2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/netcfg-auto-wireless b/contrib/netcfg-auto-wireless
index 036cd12..11cf05f 100755
--- a/contrib/netcfg-auto-wireless
+++ b/contrib/netcfg-auto-wireless
@@ -19,7 +19,7 @@ wifi_auto()
if [[ -n "$profile" ]]; then
break # If we found a profile, use it.
fi
- done < "$(list_networks $IFACE)"
+ done < "$(list_networks $INTERFACE)"
# If there's a profile, connect, else fail.
if [[ -n "$profile" ]]; then