init.d: fix apply of NFQWS_OPT_BASE

This commit is contained in:
bol-van 2024-10-31 14:33:29 +03:00
parent e0f8ff06b9
commit c964677913
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ standard_mode_daemons()
run_tpws_socks 2 "$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
run_daemon 3 "$NFQWS" "$opt"
}

View File

@ -296,7 +296,7 @@ standard_mode_daemons()
do_tpws_socks $1 2 "$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
do_nfqws $1 3 "$opt"
}