Hi,
I have the following situation. 2 lines - main and backup. 2 default gateways - backup with larger metrics. It works well, but I have an OpenVPN client which does not restart when changing from main to backup line. So I basically need script to watch if the backup is on then to restart the OpenVPN interface and wait for the main line to become available again then restart the OpenVPN again. Can anyone give me an example or something?