4 local pcall, dofile, _G = pcall, dofile, _G
8 if pcall(dofile, "/etc/openwrt_release") and _G.DISTRIB_DESCRIPTION then
10 distversion = _G.DISTRIB_DESCRIPTION
11 if _G.DISTRIB_REVISION then
12 distrevision = _G.DISTRIB_REVISION
13 if not distversion:find(distrevision,1,true) then
14 distversion = distversion .. " " .. distrevision
19 distversion = "Development Snapshot"
22 luciname = "${3:-LuCI}"
23 luciversion = "${2:-Git}"