mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
contrib: remove unnecessary cgi script
The html format is done using Bootstrap and DataTables. That deprecatated
need for having cgi to wrap dhcpd-pools.
Reference: 1299737d76
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
e5f9a77511
commit
5a33b619d1
3 changed files with 2 additions and 37 deletions
1
contrib/.gitignore
vendored
1
contrib/.gitignore
vendored
|
|
@ -1,2 +1 @@
|
|||
/dhcpd-pools.cgi
|
||||
/nagios.conf
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
contribdir = $(datadir)/dhcpd-pools/
|
||||
PATHFILES += contrib/dhcpd-pools.cgi contrib/nagios.conf
|
||||
dist_contrib_SCRIPTS = contrib/dhcpd-pools.cgi contrib/snmptest.pl
|
||||
PATHFILES += contrib/nagios.conf
|
||||
dist_contrib_SCRIPTS = contrib/snmptest.pl
|
||||
dist_contrib_DATA = contrib/nagios.conf
|
||||
EXTRA_DIST += contrib/munin_plugins
|
||||
|
|
|
|||
|
|
@ -1,34 +0,0 @@
|
|||
#!@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
|
||||
Loading…
Add table
Add a link
Reference in a new issue