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 +- src/netcfg | 2 +- 2 files changed, 2 insertions(+), 2 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 diff --git a/src/netcfg b/src/netcfg index c82c8b5..077b96c 100644 --- a/src/netcfg +++ b/src/netcfg @@ -12,7 +12,7 @@ err() { printhl "$*" } -NETCFG_VER=2.0.1 +NETCFG_VER=2.0.3 PROFILE_DIR="/etc/network.d/" SUBR_DIR="/usr/lib/network/" STATE_DIR="/var/run/network/" -- cgit v1.2.3-24-g4f1b