mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
Merge pull request #6288 from oskarirauta/luci-cni-protocol
luci-proto-cni: add package
This commit is contained in:
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)');
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user