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 <redacted>
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
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"
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
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