mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
e4c001251e
To find the correct network interface to create a network entry for, check which driver is driving the network interface. Restrict creating a network entry with DHCP client to network interfaces driven by the cdc_ether, r8152, rndis_host, or ipheth driver. Ensure UCI section name derived from interface name is proper. Do not disable using DNS servers advertised by the ISP. This was a requirement of bsbf-bonding. We can now do this as we transparently proxy all DNS traffic to Xray which resolves queries. Do not exit non-zero as it's useless. Signed-off-by: Chester A. Unal <chester.a.unal@arinc9.com>
53 lines
1.5 KiB
Makefile
53 lines
1.5 KiB
Makefile
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
# Copyright (C) 2025-2026 Chester A. Unal <chester.a.unal@arinc9.com>
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=bsbf-openwrt-resources
|
|
PKG_VERSION:=5
|
|
|
|
PKG_LICENSE:=AGPL-3.0-or-later
|
|
PKG_MAINTAINER:=Chester A. Unal <chester.a.unal@arinc9.com>
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/bsbf-autoconf-cellular
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=bsbf-autoconf-cellular
|
|
URL:=https://github.com/bondingshouldbefree/
|
|
endef
|
|
|
|
define Package/bsbf-autoconf-cellular/description
|
|
bsbf-autoconf-cellular creates a network with MBIM or QMI protocol using a
|
|
newly created network interface. It uses metric values from 1 to 8.
|
|
endef
|
|
|
|
define Package/bsbf-autoconf-dhcp
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=bsbf-autoconf-dhcp
|
|
URL:=https://github.com/bondingshouldbefree/
|
|
endef
|
|
|
|
define Package/bsbf-autoconf-dhcp/description
|
|
bsbf-autoconf-dhcp creates a network with a DHCP client using a newly created
|
|
network interface. It uses metric values from 1 to 8.
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/bsbf-autoconf-cellular/install
|
|
$(INSTALL_DIR) $(1)/etc/hotplug.d/net
|
|
$(INSTALL_BIN) ./files/etc/hotplug.d/net/99-bsbf-autoconf-cellular $(1)/etc/hotplug.d/net
|
|
endef
|
|
|
|
define Package/bsbf-autoconf-dhcp/install
|
|
$(INSTALL_DIR) $(1)/etc/hotplug.d/net
|
|
$(INSTALL_BIN) ./files/etc/hotplug.d/net/99-bsbf-autoconf-dhcp $(1)/etc/hotplug.d/net
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,bsbf-autoconf-cellular))
|
|
$(eval $(call BuildPackage,bsbf-autoconf-dhcp))
|