mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03:00
blockcheck: mdig dns cache
This commit is contained in:
parent
4c11274508
commit
4dd27c848f
@ -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
|
||||||
|
@ -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()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user