summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-modemmanager
diff options
context:
space:
mode:
authorNicholas Smith <nicholas@nbembedded.com>2021-01-07 21:57:37 +1000
committerNicholas Smith <nicholas@nbembedded.com>2021-01-07 22:07:24 +1000
commitab7e45cadb2b25ef2316ccd35d73f216d2f047cc (patch)
tree79664895de3811045f2ed406272558d0987e89d4 /protocols/luci-proto-modemmanager
parente7aeb9b153abc97a77be1e8ef9c8c499a0735895 (diff)
luci-proto-modemmanager: add support for specifying signal refresh rate
Signed-off-by: Nicholas Smith <nicholas@nbembedded.com>
Diffstat (limited to 'protocols/luci-proto-modemmanager')
-rw-r--r--protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js b/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js
index 646e10a948..4a6913e8bd 100644
--- a/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js
+++ b/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js
@@ -121,6 +121,9 @@ return network.registerProtocol('modemmanager', {
o.placeholder = dev ? (dev.getMTU() || '1500') : '1500';
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'));
}