I have a script for my daughter's MBA to connect to the home network via OpenVPN Connect, run some backups, and then disconnect. However, the CLI for Connect doesn't seem to have a command to connect via the installed profile, which is set to autologin.
The critical part here is this command:
Code: Select all
do shell script "'/Applications/OpenVPN Connect/OpenVPN Connect.app/contents/MacOS/OpenVPN Connect' --minimize --skip-startup-dialogs"
How can I get Connect to connect the default profile via the command line or otherwise?