1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Increase default sleep on ModemManager modem restart and add it as a parameter in network luci interface

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-09-18 19:38:52 +02:00
parent c525e9c9f2
commit ef0040e56f
3 changed files with 13 additions and 7 deletions

View file

@ -159,6 +159,10 @@ return network.registerProtocol('modemmanager', {
s.taboption('advanced', form.Flag, 'debugmode', _('Enable Debugmode'));
o = s.taboption('advanced', form.Value, 'delay', _('Modem init timeout'), _('Amount of seconds to wait for the modem to become ready'));
o.datatype = 'uinteger';
o.placeholder = '120';
o = s.taboption('advanced', form.ListValue, 'loglevel', _('Log output level'));
o.value('ERR', _('Error'))
o.value('WARN', _('Warning'));