summaryrefslogtreecommitdiffstats
path: root/dhcp-editspc-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-08-09 14:37:15 +0000
committerTed Trask <ttrask01@yahoo.com>2008-08-09 14:37:15 +0000
commite45a01ccebf7c9a756e3d27e3fe6abbeb8797a36 (patch)
tree338fd422d828a395b9070fb7201e89e5895c07cd /dhcp-editspc-html.lsp
parentc4de6d7e2aea4520dbfb9070ecb1d9f01185a092 (diff)
downloadacf-dhcp-e45a01ccebf7c9a756e3d27e3fe6abbeb8797a36.tar.bz2
acf-dhcp-e45a01ccebf7c9a756e3d27e3fe6abbeb8797a36.tar.xz
Rewrite of dhcp to modify existing config file rather than just generate a new one. Still need to add support for hosts, currently only supports globals and subnets.
git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@1373 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'dhcp-editspc-html.lsp')
-rw-r--r--dhcp-editspc-html.lsp40
1 files changed, 0 insertions, 40 deletions
diff --git a/dhcp-editspc-html.lsp b/dhcp-editspc-html.lsp
deleted file mode 100644
index a4397d9..0000000
--- a/dhcp-editspc-html.lsp
+++ /dev/null
@@ -1,40 +0,0 @@
-<%
- local form = ...
- local option = form.option;
- local errcode = form.errcode
-%>
-<h1>DHCPd - Advanced Global Configuration</h1>
-
-<form name="myform" action="<% io.write(option.script .. option.prefix ..
- option.controller .. "/" .. option.action .. option.extra) %>" method="POST">
-
-<pre style="color: #ff2020;"><% io.write( form.errcode.msg ) %></pre>
-
-<h2>DHCPd - Dynamic Hosts</h2>
-<p>
-Enter dynamic hosts data, one per line <i>(e.g. hostname;00:11:22:33:44:55)</i>
-</p>
-<textarea name="dynamic"><% io.write( form.value.dynamic ) %></textarea>
-
-<h2>DHCPd - Pre Main Configuration</h2>
-<p>
-These fields below are copied into the final dhcpd.conf on configuration generation without any validation check. Do not use
-them unless you know what you are doing.
-</p>
-<textarea name="preconfig"><% io.write(form.value.preconfig) %></textarea>
-
-<h2>DHCPd - Post Main Configuration</h2>
-<textarea name="postconfig"><% io.write(form.value.postconfig) %></textarea>
-
-<h2>Submit/Cancel</h2>
-<DL>
-<dt>Submit above settings</dt>
-<dd><input type="submit" name="cmd" value="update" class="submit"></dd>
-
-<dt>Cancel and go back</dt>
-<dd><form action="<% io.write(option.script .. option.prefix .. option.controller .. "/home") %>" method="POST">
-<input type=submit name="cmd" value="back" class="submit"></form></dd>
-</form>
-</DL>
-
-