luci-base: read odhcpd leasefile location via uci
authorHannu Nyman <hannu.nyman@iki.fi>
Sun, 17 Apr 2016 09:10:24 +0000 (12:10 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Mon, 18 Apr 2016 17:43:49 +0000 (20:43 +0300)
commitfdc0783b887b7c9289c3fc9063a538bacf66001c
tree025a2662967120a6879641a1796a7c345d01fbac
parent605d1f1947d4f6819d1c7e7f4a72e5c6663e97e5
luci-base: read odhcpd leasefile location via uci

Check the location of the odhcpd leasefile from /etc/config/dhcp
via uci. Fallback to the default location.

This fixes #702

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 51a7f96877d8c5bf70217073ed8aa7ab6a196d20)
modules/luci-base/luasrc/tools/status.lua