bsbf-resources: update to GIT HEAD of 2026-05-11

Update bsbf-resources to the GIT HEAD of 2026-05-11.

- Do not add more than 8 WANs with files/etc/uci-defaults/99-bsbf-bonding.
- resources-client/bsbf_bonding.nft now destroys the bsbf_bonding table
before adding it. Therefore, no need to delete the table anymore. And use
the destroy command to successfully exit even when the table doesn't exist.

Signed-off-by: Chester A. Unal <chester.a.unal@arinc9.com>
This commit is contained in:
Chester A. Unal
2026-05-11 21:17:29 +01:00
parent 6d7476f2e0
commit 8a48a6d0cb
3 changed files with 8 additions and 6 deletions
+3 -3
View File
@@ -11,9 +11,9 @@ PKG_MAINTAINER:=Chester A. Unal <chester.a.unal@arinc9.com>
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/bondingshouldbefree/bsbf-resources.git
PKG_SOURCE_DATE:=2026-05-06
PKG_SOURCE_VERSION:=e80c165c77765f297aa47742de450c5dcb0f43d3
PKG_MIRROR_HASH:=8518847ef901034548abc17317a37055c5894242b576ba64da519e4aa51b2494
PKG_SOURCE_DATE:=2026-05-11
PKG_SOURCE_VERSION:=d4bad00854218e3ac8490ad288da6db9baf6cf1a
PKG_MIRROR_HASH:=0927c07f092375db09d1911bd516c466f3eff6a0aca4e78332dc1837e966c1a2
include $(INCLUDE_DIR)/package.mk
@@ -66,6 +66,9 @@ fi
index=1
for dev in $final_wan_interfaces; do
# Only metrics 1 to 8 must be allocated for WAN so do not add any more.
[ "$index" -gt 8 ] && break
uci -q delete network.wan$index
uci set network.wan$index=interface
uci set network.wan$index.device="$dev"
@@ -51,12 +51,11 @@ case "$1" in
service xray restart 2>/dev/null
# (Re-)add nftables rules.
nft delete table bsbf_bonding 2>/dev/null
nft -f /usr/share/bsbf/bsbf_bonding.nft
;;
--disable)
# Delete nftables rules.
nft delete table bsbf_bonding 2>/dev/null
nft destroy table bsbf_bonding
# Disable and stop init.d services.
service bsbf-bonding-nft disable
@@ -76,7 +75,7 @@ case "$1" in
apk del bsbf-bonding bsbf-client-web bsbf-mptcp bsbf-rate-limiting
# Delete nftables rules.
nft delete table bsbf_bonding 2>/dev/null
nft destroy table bsbf_bonding
# Restore xray.
rm -f /etc/xray/config.json