From 9bd65e0c1d1076ebad409b4ec3ca3e8054f090a0 Mon Sep 17 00:00:00 2001 From: bol-van Date: Sun, 8 Dec 2024 20:07:06 +0300 Subject: [PATCH] init.d: remove NFQWS_OPT_BASE from sysv custom scripts --- init.d/sysv/custom.d.examples/50-dht4all | 2 +- init.d/sysv/custom.d.examples/50-discord | 2 +- init.d/sysv/custom.d.examples/50-wg4all | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/init.d/sysv/custom.d.examples/50-dht4all b/init.d/sysv/custom.d.examples/50-dht4all index 29de047..08605be 100644 --- a/init.d/sysv/custom.d.examples/50-dht4all +++ b/init.d/sysv/custom.d.examples/50-dht4all @@ -10,7 +10,7 @@ zapret_custom_daemons() { # stop logic is managed by procd - local opt="--qnum=$QNUM_DHT4ALL $NFQWS_OPT_BASE $NFQWS_OPT_DESYNC_DHT" + local opt="--qnum=$QNUM_DHT4ALL $NFQWS_OPT_DESYNC_DHT" do_nfqws $1 $DNUM_DHT4ALL "$opt" } zapret_custom_firewall() diff --git a/init.d/sysv/custom.d.examples/50-discord b/init.d/sysv/custom.d.examples/50-discord index 6c1705a..1c26e79 100644 --- a/init.d/sysv/custom.d.examples/50-discord +++ b/init.d/sysv/custom.d.examples/50-discord @@ -14,7 +14,7 @@ zapret_custom_daemons() { # $1 - 1 - run, 0 - stop - local opt="--qnum=$QNUM_DISCORD $NFQWS_OPT_BASE $NFQWS_OPT_DESYNC_DISCORD" + local opt="--qnum=$QNUM_DISCORD $NFQWS_OPT_DESYNC_DISCORD" do_nfqws $1 $DNUM_DISCORD "$opt" } diff --git a/init.d/sysv/custom.d.examples/50-wg4all b/init.d/sysv/custom.d.examples/50-wg4all index a76fccb..b95904a 100644 --- a/init.d/sysv/custom.d.examples/50-wg4all +++ b/init.d/sysv/custom.d.examples/50-wg4all @@ -10,7 +10,7 @@ zapret_custom_daemons() { # stop logic is managed by procd - local opt="--qnum=$QNUM_WG4ALL $NFQWS_OPT_BASE $NFQWS_OPT_DESYNC_WG" + local opt="--qnum=$QNUM_WG4ALL $NFQWS_OPT_DESYNC_WG" do_nfqws $1 $DNUM_WG4ALL "$opt" } # size = 156 (8 udp header + 148 payload) && payload starts with 0x01000000