-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more advanced VPN status/connection script #388
Conversation
Thanks for the PR @jessejoe. The policy for this repository is that we'd rather have one plugin to handle one thing (were thing is "vpn" in this case). Could you please, instead of writing a new vpn script, update the existing one? Thanks 😄 |
@keithamus no problem! I didn't want to overwrite the simple one if people found it useful. Will modify the PR in a bit. |
@keithamus Changes have been submitted. I renamed the file simply to Also, looks like the build failed since the |
We only had png's and jpeg's when we wrote the test tool. I don't see a problem with gifs as long as they are relevant and not seizure inducing. We just need to update the test script to allow them :) |
@tresni I changed to PNG so it would pass the checks. Let me know if you'd like me to change it back, otherwise I think it could be merged (if no other comments) |
While I agree with @keithamus that we don't want to do the same thing 6 different ways, I actually don't think your script and the existing vpn script are really the same thing. To me the original script is the "drop dead simple, vpn 101" script, and yours is "vpn for people who want to do more then just a basic check". My personal script looks very similar to yours. As such I would actually keep them as seperate scripts. So, I'll leave this to @keithamus to merge if he believes it really replaces the existing script. :) |
@tresni: I agree, and that's why I originally submitted it that way. Of course, my script could be configurable to do both, but it's really up to the merge masters. I'll do whatever they want :) |
@jessejoe sorry to ask you to do this, but if you resubmit as a new plugin I'll merge ;-) |
This script has the following features: * Will actually launch a VPN connection and wait for it to complete * Configurable and could work with any CLI VPN client * Will update the menu item instantly after connecting/disconnecting
@tresni OK, I squashed everything back down to 1 commit and added a few more comments for clarification within the script. Should be good to merge? |
The existing
vpn-check.3s.sh
script simply checks VPN status. I wanted to actually connect/disconnect the VPN as well.This script has the following features:
Example: