mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 10:51:55 +00:00
bsbf-plpmtu: add
Update bsbf-resources to the GIT HEAD of 2026-03-12. Add bsbf-plpmtu and make bsbf-bonding depend on bsbf-plpmtu. Signed-off-by: Chester A. Unal <chester.a.unal@arinc9.com>
This commit is contained in:
@@ -37,7 +37,7 @@ define Package/bsbf-bonding
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
TITLE:=bsbf-bonding
|
||||
DEPENDS:=+bsbf-mptcp +bsbf-route +bsbf-tcp-in-udp +xray-core
|
||||
DEPENDS:=+bsbf-mptcp +bsbf-plpmtu +bsbf-route +bsbf-tcp-in-udp +xray-core
|
||||
endef
|
||||
|
||||
define Package/bsbf-bonding/description
|
||||
|
||||
@@ -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-03-09
|
||||
PKG_SOURCE_VERSION:=4d8b5138a44d4df21b42f0e2c694c50b10b50173
|
||||
PKG_MIRROR_HASH:=de7645897e1cfbc8c50afc81e6a6942aec2bf65d19a62cfd18a24e93ad5f4030
|
||||
PKG_SOURCE_DATE:=2026-03-12
|
||||
PKG_SOURCE_VERSION:=b09038a13af33c1428a783d3e759a1cfc4d36b30
|
||||
PKG_MIRROR_HASH:=7aa66af4d10d274b15be243a5783d67a71266a1649598d2b0db1581ec7c0f112
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
@@ -30,6 +30,13 @@ define Package/bsbf-netspeed
|
||||
TITLE:=bsbf-netspeed
|
||||
endef
|
||||
|
||||
define Package/bsbf-plpmtu
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
TITLE:=bsbf-plpmtu
|
||||
DEPENDS:=+fping +plp-mtu-discovery
|
||||
endef
|
||||
|
||||
define Package/bsbf-quectel-usbnet
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
@@ -73,6 +80,14 @@ define Package/bsbf-netspeed/install
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/resources-client/bsbf-netspeed $(1)/usr/sbin
|
||||
endef
|
||||
|
||||
define Package/bsbf-plpmtu/install
|
||||
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
|
||||
$(INSTALL_BIN) ./files/etc/hotplug.d/iface/99-bsbf-plpmtu $(1)/etc/hotplug.d/iface
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/resources-shared/bsbf-plpmtu $(1)/usr/sbin
|
||||
endef
|
||||
|
||||
define Package/bsbf-quectel-usbnet/install
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/etc/init.d/bsbf-quectel-usbnet $(1)/etc/init.d
|
||||
@@ -99,6 +114,7 @@ endef
|
||||
|
||||
$(eval $(call BuildPackage,bsbf-mptcp))
|
||||
$(eval $(call BuildPackage,bsbf-netspeed))
|
||||
$(eval $(call BuildPackage,bsbf-plpmtu))
|
||||
$(eval $(call BuildPackage,bsbf-quectel-usbnet))
|
||||
$(eval $(call BuildPackage,bsbf-route))
|
||||
$(eval $(call BuildPackage,bsbf-tcp-in-udp))
|
||||
|
||||
11
net/bsbf-resources/files/etc/hotplug.d/iface/99-bsbf-plpmtu
Normal file
11
net/bsbf-resources/files/etc/hotplug.d/iface/99-bsbf-plpmtu
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
# Copyright (C) 2026 Chester A. Unal <chester.a.unal@arinc9.com>
|
||||
|
||||
[ "$ACTION" = "ifup" ] || exit
|
||||
|
||||
case "$INTERFACE" in
|
||||
wan*|wwan*|ifWan*|mob*_*)
|
||||
bsbf-plpmtu "$DEVICE" &
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user