From 98f298d1cb63f7a73f30a79a77f0fba7d42e3205 Mon Sep 17 00:00:00 2001 From: James Rayner Date: Mon, 7 Jan 2008 00:01:03 +1100 Subject: symlink issue in netcfg-auto-wireless --- contrib/netcfg-auto-wireless | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') 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 -- cgit v1.2.3-24-g4f1b