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
#!/usr/bin/env bash | |
cidr_to_netmask() { | |
value=$(( 0xffffffff ^ ((1 << (32 - $1)) - 1) )) | |
echo "$(( (value >> 24) & 0xff )).$(( (value >> 16) & 0xff )).$(( (value >> 8) & 0xff )).$(( value & 0xff ))" | |
} | |
genroute() { | |
echo "route -p ADD $1 MASK $3 192.168.0.254" | |
} |
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
[b]Dawn of Light project is moving from Sourceforge.net Subversion Repository to GitHub.com Git Repository[/b] | |
[size=150]Dawn Of Light Repositories[/size] | |
Organization Page : https://github.com/Dawn-of-Light | |
DOL Server (DOLSharp) Project Repository : https://github.com/Dawn-of-Light/DOLSharp | |
GitHub Wiki : https://github.com/Dawn-of-Light/DOLSharp/wiki |