OpenWrt_Luci_Lua/Mi_Lua/luci/version.lua
2015-05-09 18:48:46 +08:00

15 lines
346 B
Lua

local pcall, dofile, _G = pcall, dofile, _G
module "luci.version"
if pcall(dofile, "/etc/openwrt_release") and _G.DISTRIB_DESCRIPTION then
distname = ""
distversion = _G.DISTRIB_DESCRIPTION
else
distname = "OpenWrt Firmware"
distversion = "Attitude Adjustment (r40348)"
end
luciname = "LuCI 0.11.1 Release"
luciversion = "0.11.1"