mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
Everything should just work out of the box without poking. This change makes that goal to be yet agian one step closer. In same go make all autotools related variable substitutions better. Requested-by: Martijn van Brummelen <martijn@brumit.nl> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
34 lines
568 B
Text
Executable file
34 lines
568 B
Text
Executable file
#!@SHELL@
|
|
#
|
|
# Simple CGI for dhcpd-pools.
|
|
|
|
echo Content-type: text/html
|
|
echo
|
|
|
|
# To make lease table more fancy use CSS definition something
|
|
# like this in your style.css file.
|
|
#
|
|
# TABLE.dhcpd-pools {
|
|
# border-style : groove;
|
|
# margin-left : 2px;
|
|
# foo : bar;
|
|
# }
|
|
#
|
|
# http://www.w3.org/TR/REC-CSS2/tables.html
|
|
#
|
|
# And uncomment this line.
|
|
#
|
|
#echo <link type="text/css" rel="stylesheet" href="/style.css" />
|
|
|
|
echo "<html>"
|
|
echo "<body>"
|
|
echo "<p>This was situation at "
|
|
date
|
|
echo "</p>"
|
|
|
|
@bindir@/dhcpd-pools --format html
|
|
|
|
echo "</body>"
|
|
echo "</html>"
|
|
|
|
# EOF
|