blockcheck: mdig dns cache

This commit is contained in:
bol-van 2024-06-13 15:42:12 +03:00
parent 4c11274508
commit 4dd27c848f
2 changed files with 7 additions and 2 deletions

View File

@ -275,6 +275,12 @@ replace_char()
echo "$@" | tr $a $b echo "$@" | tr $a $b
} }
setup_md5()
{
MD5=md5sum
exists $MD5 || MD5=md5
}
random() random()
{ {
# $1 - min, $2 - max # $1 - min, $2 - max

View File

@ -24,8 +24,7 @@ GET_LIST="$IPSET_DIR/get_config.sh"
[ -n "$TPPORT" ] || TPPORT=988 [ -n "$TPPORT" ] || TPPORT=988
MD5=md5sum setup_md5
exists $MD5 || MD5=md5
check_readonly_system() check_readonly_system()
{ {