mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-13 07:54:14 +00:00
unetd: add cli module
This vastly simplifies creating and managing unet networks. It also adds support for the unetd protocol for onboarding new nodes over the network. Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
248b66b44f
commit
f7c5a2b7d4
@ -80,6 +80,7 @@ endef
|
||||
|
||||
define Package/unetd/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/usr/share/ucode/cli/modules \
|
||||
$(1)/etc/unetd \
|
||||
$(1)/lib/bpf \
|
||||
$(1)/etc/init.d \
|
||||
@ -92,6 +93,7 @@ define Package/unetd/install
|
||||
$(PKG_INSTALL_DIR)/usr/sbin/unet-tool \
|
||||
$(1)/usr/sbin/
|
||||
$(if $(CONFIG_UNETD_VXLAN_SUPPORT),$(INSTALL_DATA) $(PKG_BUILD_DIR)/mss-bpf.o $(1)/lib/bpf/mss.o)
|
||||
$(INSTALL_DATA) ./files/unet.uc $(1)/usr/share/ucode/cli/modules
|
||||
$(INSTALL_BIN) ./files/unetd.init $(1)/etc/init.d/unetd
|
||||
$(INSTALL_BIN) ./files/unetd.sh $(1)/lib/netifd/proto
|
||||
endef
|
||||
|
1226
package/network/services/unetd/files/unet.uc
Normal file
1226
package/network/services/unetd/files/unet.uc
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user