Skip to content
Snippets Groups Projects
Commit 2fd4eaa9 authored by MrMM's avatar MrMM
Browse files

Break loop if ssid is correct

parent 1c0bd14e
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@ then
then
echo "SSID $CURRENT_SSID is correct, noting to do"
HUP_NEEDED=0
break
fi
CURRENT_SSID=`grep "^ssid=$OFFLINE_SSID" $HOSTAPD | cut -d"=" -f2`
if [ $CURRENT_SSID == $OFFLINE_SSID ]
......@@ -46,6 +47,7 @@ else
then
echo "SSID $CURRENT_SSID is correct, noting to do"
HUP_NEEDED=0
break
fi
CURRENT_SSID=`grep "^ssid=$ONLINE_SSID" $HOSTAPD | cut -d"=" -f2`
if [ $CURRENT_SSID == $ONLINE_SSID ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment