luci-proto-cni: add package
adds support for cni-protocol in luci Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
This commit is contained in:
parent
c7df6e7ea5
commit
8cd2793b2c
2 changed files with 16 additions and 0 deletions
8
protocols/luci-proto-cni/Makefile
Normal file
8
protocols/luci-proto-cni/Makefile
Normal 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
|
|
@ -0,0 +1,8 @@
|
|||
'use strict';
|
||||
'require network';
|
||||
|
||||
return network.registerProtocol('cni', {
|
||||
getI18n: function () {
|
||||
return _('CNI (Externally managed interface)');
|
||||
}
|
||||
});
|
Loading…
Reference in a new issue