2008-03-02 21:52:58 +00:00
|
|
|
--[[
|
2008-05-25 17:00:30 +00:00
|
|
|
LuCI - Configuration
|
2008-03-02 21:52:58 +00:00
|
|
|
|
|
|
|
Description:
|
2008-05-25 17:00:30 +00:00
|
|
|
Some LuCI configuration values read from uci file "luci"
|
2008-03-02 21:52:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
FileId:
|
|
|
|
$Id$
|
|
|
|
|
|
|
|
License:
|
|
|
|
Copyright 2008 Steven Barth <steven@midlink.org>
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
|
|
|
|
]]--
|
|
|
|
|
2008-09-02 14:24:00 +00:00
|
|
|
local util = require "luci.util"
|
|
|
|
|
|
|
|
local pcall = pcall
|
|
|
|
local require = require
|
|
|
|
|
|
|
|
|
|
|
|
module "luci.config"
|
|
|
|
|
|
|
|
pcall(function()
|
|
|
|
util.update(_M, require "luci.model.uci".cursor():get_all("luci"))
|
|
|
|
end)
|