I use RaspberryPi 3. I would like to make it a hotspot if it can't find RaspbarryPi 3 auto wifi hotspot if no internet. The tutorial shows a code to edit rc.local file.
Please find my code of rc.local file below: http://pastebin.com/3mRXHCUG
When I debug the file, it shows error at line 39 as " Syntax error: "(" unexpected"
The code of line 39 is as follow:
So RaspberryPi always crates hotspot no matter if the specified Wifi connections are available.
Kindly help me. Thanks.