mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
Import from release candidate 2.13.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
commit
74aef1c34e
38 changed files with 15998 additions and 0 deletions
34
contrib/dhcpd-pools.cgi
Executable file
34
contrib/dhcpd-pools.cgi
Executable file
|
|
@ -0,0 +1,34 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# 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>"
|
||||
|
||||
/usr/local/bin/dhcpd-pools --format html
|
||||
|
||||
echo "</body>"
|
||||
echo "</html>"
|
||||
|
||||
# EOF
|
||||
Loading…
Add table
Add a link
Reference in a new issue