Browse Source

init.d: 50-dht4all,50-quic4all fix wrong QNUM var name

pull/666/head
bol-van 6 months ago
parent
commit
7171c776db
  1. 2
      init.d/openwrt/custom.d.examples/50-dht4all
  2. 2
      init.d/openwrt/custom.d.examples/50-quic4all

2
init.d/openwrt/custom.d.examples/50-dht4all

@ -8,7 +8,7 @@ zapret_custom_daemons()
{
# stop logic is managed by procd
local opt="--qnum=$QNUM2 $NFQWS_OPT_BASE $NFQWS_OPT_DESYNC_DHT"
local opt="--qnum=$QNUM_DHT4ALL $NFQWS_OPT_BASE $NFQWS_OPT_DESYNC_DHT"
run_daemon $DNUM_DHT4ALL $NFQWS "$opt"
}
zapret_custom_firewall()

2
init.d/openwrt/custom.d.examples/50-quic4all

@ -9,7 +9,7 @@ zapret_custom_daemons()
{
# $1 - 1 - run, 0 - stop
local opt="--qnum=$QNUM2 $NFQWS_OPT_BASE $NFQWS_OPT_DESYNC_QUIC"
local opt="--qnum=$QNUM_QUIC4ALL $NFQWS_OPT_BASE $NFQWS_OPT_DESYNC_QUIC"
run_daemon $DNUM_QUIC4ALL $NFQWS "$opt"
}
zapret_custom_firewall()

Loading…
Cancel
Save