This file contains hidden or 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
#!/usr/bin/env bash | |
progname=$(basename $0) | |
version="1.0 (2014-08-17)" | |
step=2 | |
function create_hash { | |
openssl dgst -sha1 -binary <<< "$1" | xxd -p | |
} |
This file contains hidden or 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
# Mikrotik RouterOS Script to do proper uplink failover/failback (more reliable than Netwatch). | |
# Supports both Generic and PPPoE interfaces. | |
# Policy: read, write, policy, test | |
### Configuration ### | |
# Define Names of all Interfaces that will be checked: | |
:local "interface-names" { "internet-speedy";"internet-biznet" }; |