From 2965e527f578abda1dc58dd540343422455be3ac Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 19 Dec 2022 15:28:06 +0100 Subject: luci-proto-autoip: add protocol support for avahi-autoipd Fixes: #6162 Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/resources/protocol/autoip.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 protocols/luci-proto-autoip/htdocs/luci-static/resources/protocol/autoip.js (limited to 'protocols/luci-proto-autoip/htdocs/luci-static/resources/protocol') diff --git a/protocols/luci-proto-autoip/htdocs/luci-static/resources/protocol/autoip.js b/protocols/luci-proto-autoip/htdocs/luci-static/resources/protocol/autoip.js new file mode 100644 index 0000000000..8223af29e5 --- /dev/null +++ b/protocols/luci-proto-autoip/htdocs/luci-static/resources/protocol/autoip.js @@ -0,0 +1,16 @@ +'use strict'; +'require network'; + +return network.registerProtocol('3g', { + getI18n: function() { + return _('Avahi IPv4LL'); + }, + + getOpkgPackage: function() { + return 'avahi-autoipd'; + }, + + renderFormOptions: function(s) { + + } +}); -- cgit v1.2.3