mirror of
https://github.com/bol-van/zapret.git
synced 2026-02-01 15:20:39 +03:00
support for SUFFIX desync profiles
This commit is contained in:
@@ -45,3 +45,11 @@ filter_apply_hostlist_target()
|
||||
[ -n "$HOSTLIST_EXCLUDE" ] && eval $1="\"\$$1 --hostlist-exclude=$HOSTLIST_EXCLUDE\""
|
||||
[ "$MODE_FILTER" = "autohostlist" ] && filter_apply_autohostlist_target $1
|
||||
}
|
||||
|
||||
filter_apply_suffix()
|
||||
{
|
||||
# $1 - var name of tpws or nfqws params
|
||||
# $2 - suffix value
|
||||
local v="${2:+ --new $2}"
|
||||
eval $1="\"\$$1$v\""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user