The branch, master 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 ----------------------------------------------------------------- commit c82bd65acd63b3d0905c14c19c9424281c76c37c Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Sat Sep 24 23:39:02 2011 +0200 removed obsolete copy of x2golistsessions_root from /lib dir, current version is in /sbin dir ----------------------------------------------------------------------- Summary of changes: x2goserver/lib/x2golistsessions_root | 83 ---------------------------------- 1 files changed, 0 insertions(+), 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@obviously-nice.de> -# Copyright (C) 2007-2011 Heinz-Markus Graesing <heinz-m.graesing@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],@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).