luci-proto-ncm: add modem default mode
authorDmitry Tunin <hanipouspilot@gmail.com>
Thu, 19 Jul 2018 19:54:58 +0000 (22:54 +0300)
committerDmitry Tunin <hanipouspilot@gmail.com>
Thu, 19 Jul 2018 19:54:58 +0000 (22:54 +0300)
Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
protocols/luci-proto-ncm/luasrc/model/cbi/admin_network/proto_ncm.lua

index 917c88c92c49f8878b02ca14216fad9a299c21ce..4ac8d2ccc08d90e26f98a96c91a9d0fea566bc61 100644 (file)
@@ -32,7 +32,7 @@ end
 
 
 mode = section:taboption("general", Value, "mode", translate("Service Type"))
-mode.default = "auto"
+mode:value("", translate("Modem default"))
 mode:value("preferlte", translate("Prefer LTE"))
 mode:value("preferumts", translate("Prefer UMTS"))
 mode:value("lte", "LTE")