mirror of
https://github.com/kenzok8/small-package
synced 2025-01-07 09:16:47 +08:00
update 2024-08-10 20:32:44
This commit is contained in:
parent
d5318c5af2
commit
a7a3e7585a
@ -6,7 +6,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-airconnect
|
||||
PKG_VERSION:=1.0.1
|
||||
PKG_VERSION:=1.0.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
LUCI_TITLE:=LuCI support for AirConnect
|
||||
|
@ -65,6 +65,11 @@ return view.extend({
|
||||
|
||||
o = s.option(widgets.DeviceSelect, 'interface',
|
||||
_('Bind interface'));
|
||||
o.filter = function(section_id, value) {
|
||||
var dev = this.devices.filter(function(dev) { return dev.getName() == value })[0];
|
||||
var excludeDevice = ['docker', 'dummy', 'radio', 'sit', 'teql', 'veth', 'ztly'];
|
||||
return (dev && dev.getName() != null && !excludeDevice.some(prefix => dev.getName().startsWith(prefix)));
|
||||
}
|
||||
o.rmempty = false;
|
||||
|
||||
o = s.option(form.Flag, 'airupnp', _('UPnP/Sonos'), _('Enable UPnP/Sonos Device Support'));
|
||||
|
Loading…
Reference in New Issue
Block a user