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
| #!/bin/bash | |
| # to be used with client-connect option of openvpn | |
| #Debug mode | |
| #exec 2> script_debug | |
| #set -x | |
| # Simple dad by checking all files in pool dir | |
| dad_check () { | |
| local test_addr=$1 |