[X2Go-Commits] [live-build-x2go] 14/166: added patch to share session config between X2GoClient for Windows in portable mode and X2Go-TCE isohybrid residing on same USB media

git-admin at x2go.org git-admin at x2go.org
Mon Nov 20 02:16:39 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/mate-minidesktop
in repository live-build-x2go.

commit a24233e7dd2194695131caea58dba89255819338
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Tue Dec 27 18:24:59 2016 +0100

    added patch to share session config between X2GoClient for Windows in portable mode and X2Go-TCE isohybrid residing on same USB media
---
 .../lib/live/config/2400-getportableappsettings    | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/config/includes.chroot/lib/live/config/2400-getportableappsettings b/config/includes.chroot/lib/live/config/2400-getportableappsettings
new file mode 100755
index 0000000..b607643
--- /dev/null
+++ b/config/includes.chroot/lib/live/config/2400-getportableappsettings
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+GetPortableAppSettings ()
+{
+
+# Output startup message
+#
+echo -n " getportableappsettings"
+
+# This script is for using the iso-hybrid image along with the "second partition" patch
+# it allows you to share a configuration between X2GoClient for Windows in portable
+# mode and the X2Go-ThinClientEnvironment on the same USB media using different partitions
+
+if [ -L /dev/disk/by-label/PORTABLEAPP ]; then 
+	mkdir -p /media/PORTABLEAPP && \
+	mount -o sync /dev/disk/by-label/PORTABLEAPP /media/PORTABLEAPP && \
+	ln -sf /media/PORTABLEAPP/x2goclient/sessions /etc/x2go/x2gothinclient_sessions
+else
+	true
+fi
+}
+
+GetPortableAppSettings

--
Alioth's /srv/git/code.x2go.org/live-build-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list