debian: git-build-package config
[debian/dhcpd-pools.git] / contrib / dhcpd-pools.cgi
1 #!/bin/sh
2 #
3 # Simple CGI for dhcpd-pools.
4
5 echo Content-type: text/html
6 echo
7
8 # To make lease table more fancy use CSS definition something
9 # like this in your style.css file.
10 #
11 # TABLE.dhcpd-pools {
12 #    border-style : groove;
13 #    margin-left : 2px;
14 #    foo : bar;
15 # }
16 #
17 # http://www.w3.org/TR/REC-CSS2/tables.html
18 #
19 # And uncomment this line.
20 #
21 #echo <link type="text/css" rel="stylesheet" href="/style.css" />
22
23 echo "<html>"
24 echo "<body>"
25 echo "<p>This was situation at "
26 date
27 echo "</p>"
28
29 /usr/local/bin/dhcpd-pools --format html
30
31 echo "</body>"
32 echo "</html>"
33
34 # EOF