mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-19 21:42:59 +03:00
increase ipset maxelem
This commit is contained in:
parent
2f7bfced74
commit
439d726001
@ -8,7 +8,7 @@ EXEDIR=$(dirname $SCRIPT)
|
|||||||
|
|
||||||
create_ipset()
|
create_ipset()
|
||||||
{
|
{
|
||||||
ipset flush $1 2>/dev/null || ipset create $1 hash:ip
|
ipset flush $1 2>/dev/null || ipset create $1 hash:ip maxelem 262144
|
||||||
for f in "$2" "$3"
|
for f in "$2" "$3"
|
||||||
do
|
do
|
||||||
[ -f "$f" ] && {
|
[ -f "$f" ] && {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user