OpenWrt_Luci_Lua/1_1.Mi_Lua/luci/version.lua
2015-06-13 22:22:49 +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"