summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-modemmanager
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/luci-proto-modemmanager')
-rw-r--r--protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js12
1 files changed, 12 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 e3d98d75ef..b13dd310c7 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
@@ -145,5 +145,17 @@ return network.registerProtocol('modemmanager', {
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('advanced', form.Flag, 'debugmode', _('Enable Debugmode'));
+
+ o = s.taboption('advanced', form.ListValue, 'loglevel', _('Log output level'));
+ o.value('ERR', _('Error'))
+ o.value('WARN', _('Warning'));
+ o.value('INFO', _('Info'));
+ o.value('DEBUG', _('Debug'));
+ o.default = 'ERR';
+
}
});