From d865b29e6e3dbb8470d9bb7b931a13134db44ce4 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 11 Jul 2022 11:23:57 +0200 Subject: [PATCH] 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 (cherry picked from commit 4d6642b636a9feaa173c568c99f4129c440ed8b8) --- .../luci-proto-ncm/htdocs/luci-static/resources/protocol/ncm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/luci-proto-ncm/htdocs/luci-static/resources/protocol/ncm.js b/protocols/luci-proto-ncm/htdocs/luci-static/resources/protocol/ncm.js index 95b5297811..8ff4a15506 100644 --- a/protocols/luci-proto-ncm/htdocs/luci-static/resources/protocol/ncm.js +++ b/protocols/luci-proto-ncm/htdocs/luci-static/resources/protocol/ncm.js @@ -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')); -- 2.30.2