From 7171c776db7ed28b5765d821ac2ee8b3ab8403f6 Mon Sep 17 00:00:00 2001 From: bol-van Date: Sun, 13 Oct 2024 19:39:45 +0300 Subject: [PATCH] init.d: 50-dht4all,50-quic4all fix wrong QNUM var name --- init.d/openwrt/custom.d.examples/50-dht4all | 2 +- init.d/openwrt/custom.d.examples/50-quic4all | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/init.d/openwrt/custom.d.examples/50-dht4all b/init.d/openwrt/custom.d.examples/50-dht4all index 7df570d..1c3c475 100644 --- a/init.d/openwrt/custom.d.examples/50-dht4all +++ b/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() diff --git a/init.d/openwrt/custom.d.examples/50-quic4all b/init.d/openwrt/custom.d.examples/50-quic4all index 7578f6b..75f83df 100644 --- a/init.d/openwrt/custom.d.examples/50-quic4all +++ b/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()