summaryrefslogtreecommitdiffstats
path: root/openssl-status-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
commit273d62ffe0dcf75e69f0c375438df93bb92e8faf (patch)
treea45572de1cf56d89cabaf830b84f32a9653f4f59 /openssl-status-html.lsp
parent1f1208c65c458cd1f31d9b39b54299b8cf28ff94 (diff)
downloadacf-openssl-273d62ffe0dcf75e69f0c375438df93bb92e8faf.tar.bz2
acf-openssl-273d62ffe0dcf75e69f0c375438df93bb92e8faf.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/openssl/trunk@1552 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'openssl-status-html.lsp')
-rw-r--r--openssl-status-html.lsp3
1 files changed, 3 insertions, 0 deletions
diff --git a/openssl-status-html.lsp b/openssl-status-html.lsp
index e2247d5..10e5069 100644
--- a/openssl-status-html.lsp
+++ b/openssl-status-html.lsp
@@ -8,6 +8,9 @@ io.write(html.cfe_unpack(view))
<H1>System Info</H1>
<DL>
<% displayitem(view.value.version) %>
+<% if view.value.version and view.value.version.errtxt and session.permissions.apk and session.permissions.apk.install then %>
+ <a href="<%= page_info.script .. "/apk-tools/apk/install?package="..view.value.version.name %>">Install</a>
+<% end %>
<% displayitem(view.value.conffile) %>
<% displayitem(view.value.environment) %>
<% displayitem(view.value.cacert) %>