Changeset 2362


Ignore:
Timestamp:
Jan 3, 2014, 12:15:19 PM (5 years ago)
Author:
matthijs
Message:

luci: Don't commit to a state cursor in the 3g config

This would sometimes have unintended sideffects (like putting state data
into /etc/config), while just a save is more appropriate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/luci/modules/admin-fon/luasrc/model/cbi/fon_umts/main.lua

    r2299 r2362  
    4141                uci:commit("fon")
    4242                uci_state:revert("network", "wan", "udiald_state")
    43                 uci_state:commit("network")
     43                uci_state:save("network")
    4444                event.fire("UMTS")
    4545        end
     
    4848        if selected_device and self:formvalue("reconnect_" .. selected_device) then
    4949                uci_state:revert("network", "wan", "udiald_state")
    50                 uci_state:commit("network")
     50                uci_state:save("network")
    5151                event.fire("UMTS")
    5252        end
     
    6060                        uci:commit("fon")
    6161                        uci_state:revert("network", "wan", "udiald_state")
    62                         uci_state:commit("network")
     62                        uci_state:save("network")
    6363                        event.fire("UMTS")
    6464                end
Note: See TracChangeset for help on using the changeset viewer.