Merge pull request #6288 from oskarirauta/luci-cni-protocol
luci-proto-cni: add package
This commit is contained in:
commit
e11ff51b17
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