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:
Sami Kerola 2016-04-01 22:51:51 +01:00
parent e5f9a77511
commit 5a33b619d1
No known key found for this signature in database
GPG key ID: A9553245FDE9B739
3 changed files with 2 additions and 37 deletions

1
contrib/.gitignore vendored
View file

@ -1,2 +1 @@
/dhcpd-pools.cgi
/nagios.conf /nagios.conf

View file

@ -1,5 +1,5 @@
contribdir = $(datadir)/dhcpd-pools/ contribdir = $(datadir)/dhcpd-pools/
PATHFILES += contrib/dhcpd-pools.cgi contrib/nagios.conf PATHFILES += contrib/nagios.conf
dist_contrib_SCRIPTS = contrib/dhcpd-pools.cgi contrib/snmptest.pl dist_contrib_SCRIPTS = contrib/snmptest.pl
dist_contrib_DATA = contrib/nagios.conf dist_contrib_DATA = contrib/nagios.conf
EXTRA_DIST += contrib/munin_plugins EXTRA_DIST += contrib/munin_plugins

View file

@ -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