I put that script together this week and it works, but I found that I do not need the last line of that script to get ExpressVPN to run so I removed it.
Code: Select all
@reboot ( sleep 15 ; sh /home/mederia/expressvpnstart.sh
However, that is NOT the reason I posted the OP, the reason is that ExpressVPN starts and stops through the Terminal. I now have a script to start ExpressVPN at login but I would like to have a script that automatically shuts down ExpressVPN when I shutdown my laptop.
As it stand now before I shutdown my lappy, I need to enter
ExpressVPN Disconnect into the Terminal to shutdown the VPN service before I press the Shutdown button for Linux Mint.