Skip to content
Snippets Groups Projects
Commit 9017806e authored by Bob Mottram's avatar Bob Mottram
Browse files

Check return status when enabling hotspot

parent 47bb733b
No related branches found
No related tags found
No related merge requests found
......@@ -1668,6 +1668,10 @@ function hotspot_settings {
WIFI_PASSPHRASE=$TEMP_WIFI_PASSPHRASE
${PROJECT_NAME}-wifi -i $WIFI_INTERFACE -s $WIFI_SSID -t $WIFI_TYPE -p $WIFI_PASSPHRASE --hotspot $WIFI_HOTSPOT $WIFI_EXTRA
if [ ! "$?" = "0" ]; then
echo $"Can't enable wifi hotspot"
any_key
fi
else
WIFI_HOTSPOT=$TEMP_WIFI_HOTSPOT
WIFI_SSID=$TEMP_WIFI_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