luci-proto-autoip: add protocol support for avahi-autoipd

Fixes: #6162
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2022-12-19 15:28:06 +01:00
parent a27d2dbc32
commit 2965e527f5
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,14 @@
#
# Copyright (C) 2008-2014 The LuCI Team <luci@lists.subsignal.org>
#
# This is free software, licensed under the Apache License, Version 2.0 .
#
include $(TOPDIR)/rules.mk
LUCI_TITLE:=Support for Avahi IPv4LL configuration
LUCI_DEPENDS:=+avahi-autoipd
include ../../luci.mk
# call BuildPackage - OpenWrt buildroot signature

View file

@ -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) {
}
});