mirror of
https://github.com/bol-van/zapret.git
synced 2026-01-01 06:08:54 +03:00
init: MODE_OVERRIDE to allow code reuse from custom scripts
This commit is contained in:
@@ -107,7 +107,7 @@ tpws_apply_socks_binds()
|
||||
start_service() {
|
||||
local opt qn qns qn6 qns6
|
||||
|
||||
case "${MODE}" in
|
||||
case "${MODE_OVERRIDE:-$MODE}" in
|
||||
tpws)
|
||||
opt="--port=$TPPORT $TPWS_OPT"
|
||||
filter_apply_hostlist_target opt
|
||||
|
||||
Reference in New Issue
Block a user