Sorry it didn't work for you. I've never tried x3mrouting, so I'm not sure what it does. Once you've copied the VPN-Failover.sh into your /jffs/scripts folder, simply execute it like this:
Code:
sh VPN_Failover.sh 1 interval=60
This would be running in an SSH window and keep looping. As the docs say, it will check slot 1... if it's down, it would start slot 2, and down the line it goes in a round-robin fashion.
You could also run it as a cru job, and will run sporadically in the background... this runs the script at 5 past the hour, every hour, and basically accomplishes the same task:
Code:
cru a Chk_VPN1 "5 */1 * * * /jffs/scripts/VPN_Failover.sh 1"