mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-29 21:40:52 +03:00
init.d: fix apply of NFQWS_OPT_BASE
This commit is contained in:
parent
e0f8ff06b9
commit
c964677913
@ -128,7 +128,7 @@ standard_mode_daemons()
|
|||||||
run_tpws_socks 2 "$opt"
|
run_tpws_socks 2 "$opt"
|
||||||
}
|
}
|
||||||
[ "$NFQWS_ENABLE" = 1 ] && check_bad_ws_options 1 "$NFQWS_OPT" && {
|
[ "$NFQWS_ENABLE" = 1 ] && check_bad_ws_options 1 "$NFQWS_OPT" && {
|
||||||
opt="--qnum=$QNUM $NFQWS_OPT"
|
opt="--qnum=$QNUM $NFQWS_OPT_BASE $NFQWS_OPT"
|
||||||
filter_apply_hostlist_target opt
|
filter_apply_hostlist_target opt
|
||||||
run_daemon 3 "$NFQWS" "$opt"
|
run_daemon 3 "$NFQWS" "$opt"
|
||||||
}
|
}
|
||||||
|
@ -296,7 +296,7 @@ standard_mode_daemons()
|
|||||||
do_tpws_socks $1 2 "$opt"
|
do_tpws_socks $1 2 "$opt"
|
||||||
}
|
}
|
||||||
[ "$NFQWS_ENABLE" = 1 ] && check_bad_ws_options $1 "$NFQWS_OPT" && {
|
[ "$NFQWS_ENABLE" = 1 ] && check_bad_ws_options $1 "$NFQWS_OPT" && {
|
||||||
opt="--qnum=$QNUM $NFQWS_OPT_BASE $NFQWS_OPT"
|
opt="--qnum=$QNUM $NFQWS_OPT"
|
||||||
filter_apply_hostlist_target opt
|
filter_apply_hostlist_target opt
|
||||||
do_nfqws $1 3 "$opt"
|
do_nfqws $1 3 "$opt"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user