mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-28 20:30:33 +05:00
install_easy.sh: allow to download lists in autohostlist filter mode
This commit is contained in:
parent
34c6c5e9ba
commit
db0caf7d58
@ -362,3 +362,4 @@ readme.md : move russian version to markdown
|
|||||||
nfqws,tpws: use alternate $ sign for $<config_file>
|
nfqws,tpws: use alternate $ sign for $<config_file>
|
||||||
repo: binaries removed from repo. git actions binaries build in releases.
|
repo: binaries removed from repo. git actions binaries build in releases.
|
||||||
uninstall_easy.sh: offer to remove dependencies in openwrt
|
uninstall_easy.sh: offer to remove dependencies in openwrt
|
||||||
|
install_easy.sh: allow to download lists in autohostlist filter mode
|
||||||
|
@ -206,12 +206,12 @@ select_mode()
|
|||||||
|
|
||||||
select_getlist()
|
select_getlist()
|
||||||
{
|
{
|
||||||
if [ "$MODE_FILTER" = "ipset" -o "$MODE_FILTER" = "hostlist" ]; then
|
if [ "$MODE_FILTER" = "ipset" -o "$MODE_FILTER" = "hostlist" -o "$MODE_FILTER" = "autohostlist" ]; then
|
||||||
local D=N
|
local D=N
|
||||||
[ -n "$GETLIST" ] && D=Y
|
[ -n "$GETLIST" ] && D=Y
|
||||||
echo
|
echo
|
||||||
if ask_yes_no $D "do you want to auto download ip/host list"; then
|
if ask_yes_no $D "do you want to auto download ip/host list"; then
|
||||||
if [ "$MODE_FILTER" = "hostlist" ] ; then
|
if [ "$MODE_FILTER" = "hostlist" -o "$MODE_FILTER" = "autohostlist" ] ; then
|
||||||
GETLISTS="get_refilter_domains.sh get_antizapret_domains.sh get_reestr_resolvable_domains.sh get_reestr_hostlist.sh"
|
GETLISTS="get_refilter_domains.sh get_antizapret_domains.sh get_reestr_resolvable_domains.sh get_reestr_hostlist.sh"
|
||||||
GETLIST_DEF="get_antizapret_domains.sh"
|
GETLIST_DEF="get_antizapret_domains.sh"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user