From d85c03f497a0c69e85133a1d3d753149b714986b Mon Sep 17 00:00:00 2001 From: Jim Pryor Date: Sat, 29 Aug 2009 19:47:14 -0400 Subject: indentation Signed-off-by: Jim Pryor --- src-wireless/netcfg-auto-wireless | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src-wireless/netcfg-auto-wireless b/src-wireless/netcfg-auto-wireless index fb076eb..5bf0e5a 100644 --- a/src-wireless/netcfg-auto-wireless +++ b/src-wireless/netcfg-auto-wireless @@ -28,25 +28,25 @@ wifi_auto() while read ap essid; do while read network; do ( - unset CONNECTION INTERFACE AP - load_profile "$network" - case "$CONNECTION" in - wireless-old|wireless|wireless-dbus) - if [[ "$interface" = "$INTERFACE" ]]; then - if [[ "$ap" == "$AP" ]]; then - exit 2 - elif [[ -z "$found_profile" ]]; then - if [[ "$CONNECTION" == wireless-dbus ]]; then - if expr match "$essid" "^$ESSID\$" 1>/dev/null; then - exit 1 - fi - elif [[ "$essid" == "$ESSID" ]]; then - exit 1 + unset CONNECTION INTERFACE AP ESSID + load_profile "$network" + case "$CONNECTION" in + wireless-old|wireless|wireless-dbus) + if [[ "$interface" = "$INTERFACE" ]]; then + if [[ "$ap" == "$AP" ]]; then + exit 2 + elif [[ -z "$found_profile" ]]; then + if [[ "$CONNECTION" == wireless-dbus ]]; then + if expr match "$essid" "^$ESSID\$" 1>/dev/null; then + exit 1 + fi + elif [[ "$essid" == "$ESSID" ]]; then + exit 1 + fi fi fi - fi - ;; - esac + ;; + esac exit 0 ) case $? in -- cgit v1.2.3-24-g4f1b