RaspberryConnect / AutoHotspot-Installer

For the RaspberryPi computers. Allows switching between a Raspberry Pi Access Point and Wifi Network connection without a reboot.
GNU General Public License v3.0
67 stars 24 forks source link

Is there a way to specify one of the 8 options in the script from terminal #8

Closed tennisparty closed 1 year ago

tennisparty commented 1 year ago

I would like to trigger option 6 automatically when running the script

I have tried sudo ./autohotspot-setup.sh -6

I am still presented with 8 options and have to type in 6 and enter manually. Is there a way to choose one of the options without entering it manually when the script is run? I could modify the script but wondered if there was a way natively?

RaspberryConnect commented 1 year ago

Hi, The script is just a setup menu so wasn't designed for arguments. Option 6 was more for testing it all works rather than a feature as the autohotspot scripts weren't originally intended for the Access Point to be available near your router. That's how I intended to use it but as there is a wider range of uses I am rewriting the script and will be adding more features and arguments in the near future.

tennisparty commented 1 year ago

Amazing that's good to know