protocols/3g: rework service type choices
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 22 Aug 2012 11:12:14 +0000 (11:12 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 22 Aug 2012 11:12:14 +0000 (11:12 +0000)
protocols/3g/luasrc/model/cbi/admin_network/proto_3g.lua

index d59d233..9c1a762 100644 (file)
@@ -34,15 +34,15 @@ end
 service = section:taboption("general", Value, "service", translate("Service Type"))
 service:value("", translate("-- Please choose --"))
 service:value("umts", "UMTS/GPRS")
-service:value("cdma", "CDMA")
-service:value("evdo", "EV-DO")
+service:value("umts_only", translate("UMTS only"))
+service:value("gprs_only", translate("GPRS only"))
+service:value("evdo", "CDMA/EV-DO")
 
 
 apn = section:taboption("general", Value, "apn", translate("APN"))
 
 
 pincode = section:taboption("general", Value, "pincode", translate("PIN"))
-pincode.datatype = "range(0,9999)"
 
 
 username = section:taboption("general", Value, "username", translate("PAP/CHAP username"))