summaryrefslogtreecommitdiffstats
path: root/openssh-welcome-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-08-23 10:14:19 +0000
committerMika Havela <mika.havela@gmail.com>2008-08-23 10:14:19 +0000
commit86885e32ea98ae7fc18c207052e2108f7cdba833 (patch)
tree6faa1fceac08bcb39db750db078921b17cc64dbf /openssh-welcome-html.lsp
parent78e8b8fa00908ea30a002331bad4cb59d6eb7016 (diff)
downloadacf-openssh-86885e32ea98ae7fc18c207052e2108f7cdba833.tar.bz2
acf-openssh-86885e32ea98ae7fc18c207052e2108f7cdba833.tar.xz
Added status information about which peers are currently connected to sshd
git-svn-id: svn://svn.alpinelinux.org/acf/openssh/trunk@1403 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'openssh-welcome-html.lsp')
-rw-r--r--openssh-welcome-html.lsp10
1 files changed, 10 insertions, 0 deletions
diff --git a/openssh-welcome-html.lsp b/openssh-welcome-html.lsp
new file mode 100644
index 0000000..d627bd6
--- /dev/null
+++ b/openssh-welcome-html.lsp
@@ -0,0 +1,10 @@
+<% local data, viewlibrary, page_info, session = ...
+%>
+
+<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].connectedpeers then
+ viewlibrary.dispatch_component("status")
+end %>
+
+<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].connectedpeers then
+ viewlibrary.dispatch_component("connectedpeers")
+end %>