luci-proto-ncm: rename service option to mode

Package luci-proto-ncm depends on comgt-ncm which uses an option
called 'mode' to set the radiomode of the modem. There is no option
'service' in the comgt-ncm scripts.

Suggested-by: breenstorm <49235337+breenstorm@users.noreply.github.com>
[fix commit subject, add commit message, rebase onto master branch]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2022-07-11 11:23:57 +02:00
parent 25dcd0b77c
commit 4d6642b636

View file

@ -69,7 +69,7 @@ return network.registerProtocol('ncm', {
}, this));
};
o = s.taboption('general', form.Value, 'service', _('Service Type'));
o = s.taboption('general', form.Value, 'mode', _('Network Mode'));
o.value('', _('Modem default'));
o.value('preferlte', _('Prefer LTE'));
o.value('preferumts', _('Prefer UMTS'));