summaryrefslogtreecommitdiffstats
path: root/fetchmail-startstop-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-10-11 12:57:42 +0000
committerTed Trask <ttrask01@yahoo.com>2008-10-11 12:57:42 +0000
commit432ebc17c07d44300ba40f48fa73b8aa0c5255fa (patch)
tree0e8b6336653c399ee68038e796397a65a302f51d /fetchmail-startstop-html.lsp
parentb6e10cfd60fc2ec61ae37718a7b18cbeb620d15e (diff)
downloadacf-fetchmail-432ebc17c07d44300ba40f48fa73b8aa0c5255fa.tar.bz2
acf-fetchmail-432ebc17c07d44300ba40f48fa73b8aa0c5255fa.tar.xz
Added rc controller to alpine-baselayout and rc functionality to processinfo library. Changed status Enabled/Disabled to Running/Stopped. Added links to status pages to install package and schedule autostart.
git-svn-id: svn://svn.alpinelinux.org/acf/fetchmail/trunk@1552 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'fetchmail-startstop-html.lsp')
-rw-r--r--fetchmail-startstop-html.lsp10
1 files changed, 5 insertions, 5 deletions
diff --git a/fetchmail-startstop-html.lsp b/fetchmail-startstop-html.lsp
index e9d692f..bd4c275 100644
--- a/fetchmail-startstop-html.lsp
+++ b/fetchmail-startstop-html.lsp
@@ -5,17 +5,17 @@
<form action="<%= page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action %>" method="POST">
<DT>Program control-panel</DT>
<DD>
-<input class="submit" type="submit" name="action" value="Start" <% if data.value.status.value== "Enabled" then io.write("disabled") end %>>
-<input class="submit" type="submit" name="action" value="Stop" <% if data.value.status.value== "Disabled" then io.write("disabled") end %>>
-<input class="submit" type="submit" name="action" value="Restart" <% if data.value.status.value== "Disabled" then io.write("disabled") end %>>
+<input class="submit" type="submit" name="action" value="Start" <% if data.value.status.value== "Running" then io.write("disabled") end %>>
+<input class="submit" type="submit" name="action" value="Stop" <% if data.value.status.value== "Stopped" then io.write("disabled") end %>>
+<input class="submit" type="submit" name="action" value="Restart" <% if data.value.status.value== "Stopped" then io.write("disabled") end %>>
</DD>
<DT>Run once</DT>
<DD>
-<input class="submit" type="submit" name="action" value="Run" <% if data.value.status.value== "Enabled" then io.write("disabled") end %>>
+<input class="submit" type="submit" name="action" value="Run" <% if data.value.status.value== "Running" then io.write("disabled") end %>>
</DD>
<DT>Test</DT>
<DD>
-<input class="submit" type="submit" name="action" value="Test" <% if data.value.status.value== "Enabled" then io.write("disabled") end %>>
+<input class="submit" type="submit" name="action" value="Test" <% if data.value.status.value== "Running" then io.write("disabled") end %>>
</DD>
</form>