From 08645997f8b00b17b152482e3df5a8473a11876c Mon Sep 17 00:00:00 2001 From: bol-van Date: Wed, 4 Dec 2024 16:23:44 +0300 Subject: [PATCH] 50-tpws-ipset: fix var names --- init.d/openwrt/custom.d.examples/50-tpws-ipset | 6 +++--- init.d/sysv/custom.d.examples/50-tpws-ipset | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/init.d/openwrt/custom.d.examples/50-tpws-ipset b/init.d/openwrt/custom.d.examples/50-tpws-ipset index 65be97e..1a78ce9 100644 --- a/init.d/openwrt/custom.d.examples/50-tpws-ipset +++ b/init.d/openwrt/custom.d.examples/50-tpws-ipset @@ -1,10 +1,10 @@ # this custom script demonstrates how to launch extra tpws instance limited by ipset # can override in config : -TPWS_MY1_OPT="${TPWS_OPT_MY1:---oob --split-pos=midsld}" +TPWS_MY1_OPT="${TPWS_MY1_OPT:---oob --split-pos=midsld}" TPWS_MY1_PORTS=${TPWS_MY1_PORTS:-$TPWS_PORTS} -TPWS_MY1_SUBNETS4="${TPWS_MY1_4:-142.250.0.0/15 64.233.160.0/19 172.217.0.0/16 173.194.0.0/16 108.177.0.0/17 74.125.0.0/16 209.85.128.0/17 216.58.192.0/19}" -TPWS_MY1_SUBNETS6="${TPWS_MY1_6:-2607:F8B0::/32 2a00:1450:4000::/37}" +TPWS_MY1_SUBNETS4="${TPWS_MY1_SUBNETS4:-142.250.0.0/15 64.233.160.0/19 172.217.0.0/16 173.194.0.0/16 108.177.0.0/17 74.125.0.0/16 209.85.128.0/17 216.58.192.0/19}" +TPWS_MY1_SUBNETS6="${TPWS_MY1_SUBNETS6:-2607:F8B0::/32 2a00:1450:4000::/37}" TPWS_MY1_IPSET_SIZE=${TPWS_MY1_IPSET_SIZE:-4096} TPWS_MY1_IPSET_OPT="${TPWS_MY1_IPSET_OPT:-hash:net hashsize 8192 maxelem $TPWS_MY1_IPSET_SIZE}" diff --git a/init.d/sysv/custom.d.examples/50-tpws-ipset b/init.d/sysv/custom.d.examples/50-tpws-ipset index 0f5de0b..86898f9 100644 --- a/init.d/sysv/custom.d.examples/50-tpws-ipset +++ b/init.d/sysv/custom.d.examples/50-tpws-ipset @@ -1,10 +1,10 @@ # this custom script demonstrates how to launch extra tpws instance limited by ipset # can override in config : -TPWS_MY1_OPT="${TPWS_OPT_MY1:---oob --split-pos=midsld}" +TPWS_MY1_OPT="${TPWS_MY1_OPT:---oob --split-pos=midsld}" TPWS_MY1_PORTS=${TPWS_MY1_PORTS:-$TPWS_PORTS} -TPWS_MY1_SUBNETS4="${TPWS_MY1_4:-142.250.0.0/15 64.233.160.0/19 172.217.0.0/16 173.194.0.0/16 108.177.0.0/17 74.125.0.0/16 209.85.128.0/17 216.58.192.0/19}" -TPWS_MY1_SUBNETS6="${TPWS_MY1_6:-2607:F8B0::/32 2a00:1450:4000::/37}" +TPWS_MY1_SUBNETS4="${TPWS_MY1_SUBNETS4:-142.250.0.0/15 64.233.160.0/19 172.217.0.0/16 173.194.0.0/16 108.177.0.0/17 74.125.0.0/16 209.85.128.0/17 216.58.192.0/19}" +TPWS_MY1_SUBNETS6="${TPWS_MY1_SUBNETS6:-2607:F8B0::/32 2a00:1450:4000::/37}" TPWS_MY1_IPSET_SIZE=${TPWS_MY1_IPSET_SIZE:-4096} TPWS_MY1_IPSET_OPT="${TPWS_MY1_IPSET_OPT:-hash:net hashsize 8192 maxelem $TPWS_MY1_IPSET_SIZE}"