summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/src/template_lualib.c
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2016-03-11 14:09:39 +0200
committerHannu Nyman <hannu.nyman@iki.fi>2016-03-11 14:16:24 +0200
commit50451c4ac53c853cbf2837e7bfbbc1268a440180 (patch)
tree1855af089ddc12d0b0f35a5fc72887ac33f0cf14 /modules/luci-base/src/template_lualib.c
parentecb9ee8e5d986a68d681e207e54b63a7d9effb24 (diff)
luci-base: Include Openwrt build revision in displayed version string
The version string displayed in the footer and the overview page contains both LuCI and Openwrt versions. But due to differences in the contents of /etc/openwrt_release the exact Openwrt revision r..... may be missing: * In trunk that revision is included in the DISTRIB_DESCRIPTION field that is displayed in Luci as the Openwrt version. * In release branches, that field contains the release number like 15.05. Revision number is always present in DISTRIB_REVISION field, so add the revision from that field in case the revision is not already present in the string. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'modules/luci-base/src/template_lualib.c')
0 files changed, 0 insertions, 0 deletions