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:
parent
a27d2dbc32
commit
2965e527f5
2 changed files with 30 additions and 0 deletions
14
protocols/luci-proto-autoip/Makefile
Normal file
14
protocols/luci-proto-autoip/Makefile
Normal 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
|
|
@ -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) {
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
Loading…
Reference in a new issue