Merge pull request #6288 from oskarirauta/luci-cni-protocol

luci-proto-cni: add package
This commit is contained in:
Jo-Philipp Wich 2023-03-15 14:09:04 +01:00 committed by GitHub
commit e11ff51b17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,8 @@
include $(TOPDIR)/rules.mk
LUCI_TITLE:=Support for CNI protocol
LUCI_DEPENDS:=+cni-protocol
include ../../luci.mk
# call BuildPackage - OpenWrt buildroot signature

View file

@ -0,0 +1,8 @@
'use strict';
'require network';
return network.registerProtocol('cni', {
getI18n: function () {
return _('CNI (Externally managed interface)');
}
});