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>
Sun, 17 Apr 2016 09:12:54 +0000 (12:12 +0300)
commit51a7f96877d8c5bf70217073ed8aa7ab6a196d20
tree3591774fe6ff87534948e21e21230fc1489122f6
parent4612c241d276d7f4b3bb8919b0f3319bf525c237
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>
modules/luci-base/luasrc/tools/status.lua