[X2Go-Commits] x2goserver.git - build-main (branch) updated: 3.0.99-2-287-gc82bd65
X2Go dev team
git-admin at x2go.org
Wed Dec 4 06:17:51 CET 2013
The branch, build-main has been updated
via c82bd65acd63b3d0905c14c19c9424281c76c37c (commit)
from 17a9b394a9b61d85b81d80136d4fedfc91ec5ee1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
x2goserver/lib/x2golistsessions_root | 83 ----------------------------------
1 file changed, 83 deletions(-)
delete mode 100755 x2goserver/lib/x2golistsessions_root
The diff of changes is:
diff --git a/x2goserver/lib/x2golistsessions_root b/x2goserver/lib/x2golistsessions_root
deleted file mode 100755
index 32fc608..0000000
--- a/x2goserver/lib/x2golistsessions_root
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/usr/bin/perl
-
-# Copyright (C) 2007-2011 X2go Project - http://wiki.x2go.org
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the
-# Free Software Foundation, Inc.,
-# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# Copyright (C) 2007-2011 Oleksandr Shneyder <oleksandr.shneyder at obviously-nice.de>
-# Copyright (C) 2007-2011 Heinz-Markus Graesing <heinz-m.graesing at obviously-nice.de>
-
-use strict;
-use Sys::Hostname;
-use Sys::Syslog qw( :standard :macros );
-
-use lib `echo -n \$(x2gobasepath)/lib/x2go`;
-use x2gologlevel;
-
-openlog($0,'cons,pid','user');
-setlogmask( LOG_UPTO(x2gologlevel()) );
-
-
-sub check_stat
-{
- my $sess=shift;
- my $user=shift;
- my $log="~$user/.x2go/C-$sess/session.log";
- my $text=`tail -1 $log`;
- if ($text =~ m/Session suspended/)
- {
- return 0;
- }
- return 1;
-}
-
-my $uname;
-
-my $serv=shift;
-if ( ! $serv)
-{
- $serv=hostname;
-}
-
-my $outp=`x2golistsessions_sql $serv 2>/dev/null`;
-
-
-my @outp=split("\n","$outp");
-
-for (my $i=0;$i<@outp;$i++)
-{
- my @sinfo=split('\\|',"@outp[$i]");
- if (@sinfo[4]eq 'F')
- {
- print "@outp[$i]\n";
- }
- else
- {
- if (@sinfo[4]eq 'R')
- {
- if (!check_stat(@sinfo[1], at sinfo[11]))
- {
- system("su - @sinfo[11] -c \"x2gochangestatus 'S' @sinfo[1]\" > /dev/null");
- @outp[$i] =~ s/\|R\|/\|S\|/;
- }
- }
- syslog('debug', "x2golistsessions_root has been called...");
- print "@outp[$i]\n";
- }
-}
-
-# closing syslog
-closelog;
\ No newline at end of file
hooks/post-receive
--
x2goserver.git (X2Go Server)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goserver.git" (X2Go Server).
More information about the x2go-commits
mailing list