mirror of
https://github.com/bol-van/zapret2.git
synced 2026-03-13 22:03:09 +00:00
init.d: warn if ipset/hostlist files inside zapret2 root
This commit is contained in:
@@ -438,6 +438,13 @@ has_bad_ws_options()
|
|||||||
echo "Kernel ipsets should be used instead. Write custom scripts and filter IPs in kernel."
|
echo "Kernel ipsets should be used instead. Write custom scripts and filter IPs in kernel."
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
contains "$1" "--ipset=$ZAPRET_BASE" || contains "$1" "--ipset-exclude=$ZAPRET_BASE" ||
|
||||||
|
contains "$1" "--hostlist=$ZAPRET_BASE" || contains "$1" "--hostlist-exclude=$ZAPRET_BASE" && {
|
||||||
|
echo
|
||||||
|
echo "WARNING !!! you store ipset or hostlist files inside '$ZAPRET_BASE'"
|
||||||
|
echo "It's not recommended. install_easy.sh will delete them during update."
|
||||||
|
echo
|
||||||
|
}
|
||||||
|
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -264,3 +264,4 @@ v0.9.4.3
|
|||||||
|
|
||||||
* winws2, dvtws2: ASLR
|
* winws2, dvtws2: ASLR
|
||||||
* github, linux-builder: reduce arm executable size by 20% - move to armv7+thumb
|
* github, linux-builder: reduce arm executable size by 20% - move to armv7+thumb
|
||||||
|
* init.d: warn if hostlist/ipset files are inside zapret2 root
|
||||||
|
|||||||
Reference in New Issue
Block a user