summaryrefslogtreecommitdiffstats
path: root/src-wireless/netcfg-auto-wireless
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2009-02-16 11:09:06 +0100
committerJames Rayner <james@archlinux.org>2009-02-16 11:09:06 +0100
commit371cd06f36328ba0ddb75fe64102e8fc232a7fd3 (patch)
tree1584bb6d4eafe2cd2ee257d9c9b1d3ef1cc67a58 /src-wireless/netcfg-auto-wireless
parentcfcf836b94c5f3b520f0022942b1932c566eefdb (diff)
downloadnetctl-371cd06f36328ba0ddb75fe64102e8fc232a7fd3.tar.gz
netctl-371cd06f36328ba0ddb75fe64102e8fc232a7fd3.tar.xz
various fixes, and new quirk 'noacheck'
Diffstat (limited to 'src-wireless/netcfg-auto-wireless')
-rwxr-xr-xsrc-wireless/netcfg-auto-wireless4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-wireless/netcfg-auto-wireless b/src-wireless/netcfg-auto-wireless
index e5e4fc1..a523bdd 100755
--- a/src-wireless/netcfg-auto-wireless
+++ b/src-wireless/netcfg-auto-wireless
@@ -11,7 +11,7 @@
# $1 - wireless interface
wifi_auto()
{
- interface=$1; RETRIES=6
+ interface=$1;
stat_busy "Scanning for networks"
ifconfig $interface up
@@ -37,7 +37,7 @@ wifi_auto()
done < $networks
if [[ "$found" ]]; then
- netcfg2 $found
+ netcfg $found
exit $?
fi