[X2go-Commits] x2goserver.git - master (branch) updated: 3.0.99-2-289-gca4c824

X2go dev team git-admin at x2go.org
Sun Sep 25 00:04:17 CEST 2011


The branch, master has been updated
       via  ca4c82459835e3f2b7ef327090b8c0778a997618 (commit)
      from  b2828cd1561964e099d4f19671ab2797d4ad1696 (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 ca4c82459835e3f2b7ef327090b8c0778a997618
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sun Sep 25 00:04:13 2011 +0200

    Add x2golistmounts script to X2go server core.

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog                                  |    1 +
 x2goserver/{lib/x2goresume => bin/x2golistmounts} |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)
 copy x2goserver/{lib/x2goresume => bin/x2golistmounts} (92%)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index cdd1782..981ea3b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -78,6 +78,7 @@ x2goserver (3.0.99.5-0~x2go3) UNRELEASED; urgency=low
   * Add man page for x2gobasepath and man page draft for x2gosessionlimit.
   * Identified x2goumount script (x2goserver-compat) as a necessary component of
     x2gognomebindings and moved it there (with new name: x2goumount-session-gnome).
+  * Add x2golistmounts script to X2go server core.
 
   [ Ivan Kabaivanov ]
   * Makefile fix around man page installation in x2goserver-compat package.
diff --git a/x2goserver/lib/x2goresume b/x2goserver/bin/x2golistmounts
similarity index 92%
copy from x2goserver/lib/x2goresume
copy to x2goserver/bin/x2golistmounts
index 028e34f..561c554 100755
--- a/x2goserver/lib/x2goresume
+++ b/x2goserver/bin/x2golistmounts
@@ -31,10 +31,10 @@ openlog($0,'cons,pid','user');
 setlogmask( LOG_UPTO(x2gologlevel()) );
 
 
-my $client=shift or die;
-my $sid=shift or die;
+my $session_id=shift or die;
 
-db_resume($client, $sid);
+my $mounts = join("\n", db_getmounts($session_id));
+print "$mounts\n";
 
 # closing syslog 
 closelog;


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