summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/luasrc/view/admin_status/index/40-dhcp-leases.htm
blob: aaf3661442d6f1eb253dd9d35e26c3a0e3757154 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<%#
 Copyright 2008 Steven Barth <steven@midlink.org>
 Copyright 2008-2018 Jo-Philipp Wich <jo@mein.io>
 Licensed to the public under the Apache License 2.0.
-%>

<%
	local fs = require "nixio.fs"
	local has_dhcp = fs.access("/etc/config/dhcp")

	if has_dhcp then
		include("lease_status")
	end
%>