--- netcfg.action 2009-11-15 01:19:50.000000000 +0100 +++ netcfg.action.new 2009-11-15 17:29:56.000000000 +0100 @@ -15,12 +15,12 @@ for profile in $(list_profiles); do ( load_profile $profile [[ $INTERFACE != $1 ]] && continue - [[ $CONNECTION != @(ethernet|ethernet-iproute) ]] && continue + [[ $CONNECTION != "@(ethernet|ethernet-iproute)" ]] && continue if [[ $IP == "dhcp" ]]; then netcfg $profile && exit 0 fi ) done - for profile in $(list profiles}; do ( + for profile in $(list profiles); do ( load_profile $profile [[ $INTERFACE != $1 ]] && continue [[ $CONNECTION != "(ethernet|ethernet-iproute)" ]] && continue