This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
################################################################################ | |
# CheckMyVPN # | |
# Author : Francois B. (Makoto) # | |
# Website : https://makotonoblog.be/ # | |
# Email : francois@makotonoblog.be # | |
# Licence : GPL-3.0 # | |
# Features of this script : # | |
# - check if the OpenVPN connexion is UP and restart it if necessary # | |
# - Stop/Start TransmissionBT/SabNZBd/JDownloader regarding the VPN status # |