I'm trying to connect to my vpn on startup. I normally enter protonvpn c -f into command line. I have tried the method of creating an rc.local file however it didn't work. This is the code I have inside of it (I got this from a post about a similar issue):
#!/bin/sh -e
/usr/local/bin/protonvpn c CH-NL#1
exit 0
I also made the file executable with chmod +x. Im running Kali 2020.1 if that helps. How do I fix this?