Changeset 2300


Ignore:
Timestamp:
Sep 2, 2013, 4:23:55 PM (6 years ago)
Author:
matthijs
Message:

mobile-broadband-provider-info: Add new package

This package downloads the mbpi XML file from the Gnome project and
converts it into a more concise lua format, which is used by luci. The
format is also subtly changed (gsm -> apn), to make the conversion
easier and the let format make more sense.

This replaces the previous static 3gsp.db.lua file that was included in
the repository (which was probably also converted from mbpi a long time
ago).

Location:
trunk
Files:
3 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/fon/luci/Makefile

    r2228 r2300  
    326326define Package/luci-admin-fon
    327327  $(call Package/luci/webtemplate)
    328   DEPENDS+=+luci-web +luci-cbi +luci-theme-fon +luci-i18n-english +luci-i18n-dutch +luci-i18n-zh_tw +luci-i18n-zh_cn +luci-i18n-portuguese +luci-i18n-german +luci-i18n-spanish +luci-i18n-french +luci-i18n-italian +luci-i18n-japanese +luci-i18n-basque +luci-luanet +luci-i18n-hungarian +luci-i18n-catalan +luci-i18n-polish +luci-twitter
     328  DEPENDS+=+luci-web +luci-cbi +luci-theme-fon +luci-i18n-english +luci-i18n-dutch +luci-i18n-zh_tw +luci-i18n-zh_cn +luci-i18n-portuguese +luci-i18n-german +luci-i18n-spanish +luci-i18n-french +luci-i18n-italian +luci-i18n-japanese +luci-i18n-basque +luci-luanet +luci-i18n-hungarian +luci-i18n-catalan +luci-i18n-polish +luci-twitter +mobile-broadband-provider-info
    329329  TITLE:=Web UI Core Module
    330330endef
  • trunk/luci/modules/admin-fon/luasrc/model/cbi/fon_umts/configure.lua

    r2277 r2300  
    4646                local p = providers[provider:formvalue(section)]
    4747                if p then
    48                         uservalue = p and p.gsm and p.gsm[1]
     48                        uservalue = p and p.apn
    4949                end
    5050        end
Note: See TracChangeset for help on using the changeset viewer.