diff options
author | James Rayner <james@archlinux.org> | 2008-01-06 14:01:03 +0100 |
---|---|---|
committer | James Rayner <james@archlinux.org> | 2008-01-06 14:01:03 +0100 |
commit | 98f298d1cb63f7a73f30a79a77f0fba7d42e3205 (patch) | |
tree | f3ee7cac3fa1f8d28100eb61c4e0956a707f1be1 /contrib/netcfg-auto-wireless | |
parent | 984f8b02a1d8c85789981fce8b6ddc677d4f6753 (diff) | |
download | netctl-98f298d1cb63f7a73f30a79a77f0fba7d42e3205.tar.gz netctl-98f298d1cb63f7a73f30a79a77f0fba7d42e3205.tar.xz |
symlink issue in netcfg-auto-wireless
Diffstat (limited to 'contrib/netcfg-auto-wireless')
-rwxr-xr-x | contrib/netcfg-auto-wireless | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/netcfg-auto-wireless b/contrib/netcfg-auto-wireless index 11cf05f..02533c8 100755 --- a/contrib/netcfg-auto-wireless +++ b/contrib/netcfg-auto-wireless @@ -15,7 +15,7 @@ wifi_auto() while read essid; do # awfully long grep that finds a file which has: # CONNECTION=wireless, ESSID=$essid, INTERFACE=$INTERFACE - profile=$(grep -rlP "CONNECTION=\"?wireless\"?(\n|.)*INTERFACE=\"?$INTERFACE\"?(\n|.)*ESSID=\"?$essid\"?" $PROFILE_DIR/|head -n 1) + profile=$(grep -rlP --exclude=/etc/network.d/last "CONNECTION=\"?wireless\"?(\n|.)*INTERFACE=\"?$INTERFACE\"?(\n|.)*ESSID=\"?$essid\"?" $PROFILE_DIR/|head -n 1) if [[ -n "$profile" ]]; then break # If we found a profile, use it. fi |