summaryrefslogtreecommitdiffstats
path: root/src-wireless
diff options
context:
space:
mode:
authorJim Pryor <profjim@jimpryor.net>2009-08-30 01:47:14 +0200
committerJames Rayner <james@archlinux.org>2009-09-07 12:21:25 +0200
commitd85c03f497a0c69e85133a1d3d753149b714986b (patch)
tree442b698c2e6069c030ceab4df52388d227c8216c /src-wireless
parent0cd7101bb61df258b35283b33e4055139b34bc40 (diff)
downloadnetctl-d85c03f497a0c69e85133a1d3d753149b714986b.tar.gz
netctl-d85c03f497a0c69e85133a1d3d753149b714986b.tar.xz
indentation
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
Diffstat (limited to 'src-wireless')
-rw-r--r--src-wireless/netcfg-auto-wireless34
1 files 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