luci-proto-modemmanager: add support for specifying signal refresh rate
Signed-off-by: Nicholas Smith <nicholas@nbembedded.com>
This commit is contained in:
parent
e7aeb9b153
commit
ab7e45cadb
1 changed files with 3 additions and 0 deletions
|
@ -121,6 +121,9 @@ return network.registerProtocol('modemmanager', {
|
||||||
o.placeholder = dev ? (dev.getMTU() || '1500') : '1500';
|
o.placeholder = dev ? (dev.getMTU() || '1500') : '1500';
|
||||||
o.datatype = 'max(9200)';
|
o.datatype = 'max(9200)';
|
||||||
|
|
||||||
|
o = s.taboption('general', form.Value, 'signalrate', _('Signal Refresh Rate'), _("In seconds"));
|
||||||
|
o.datatype = 'uinteger';
|
||||||
|
|
||||||
s.taboption('general', form.Value, 'metric', _('Gateway metric'));
|
s.taboption('general', form.Value, 'metric', _('Gateway metric'));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue