Commit d85c03f4 authored by Jim Pryor's avatar Jim Pryor Committed by James Rayner
Browse files

indentation



Signed-off-by: default avatarJim Pryor <profjim@jimpryor.net>
parent 0cd7101b
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment