[X2Go-Commits] x2gothinclient.git - build-main (branch) updated: 1.1.0.0-16-g2043c0d

X2Go dev team git-admin at x2go.org
Fri Nov 22 23:53:10 CET 2013


The branch, build-main has been updated
       via  2043c0d385e7592cfbac2eec6283e0356fdf7c01 (commit)
      from  c36057b91449a2d743b7dd1730eb145cae3a8aec (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:
 debian/changelog                                   |    2 ++
 debian/x2gothinclient-chroot.init                  |    1 +
 .../init/x2gothinclient-chroot.init                |   31 ++++++++++++++++++++
 3 files changed, 34 insertions(+)
 create mode 120000 debian/x2gothinclient-chroot.init
 create mode 100644 x2gothinclient-chroot/init/x2gothinclient-chroot.init

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 25a8595..360370a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,8 @@ x2gothinclient (1.1.0.1-0~x2go1) UNRELEASED; urgency=low
     - Deactivate serial line terminals on X2Go thinclients.
     - Install TCE dependencies via meta-package x2gothinclient-chroot.
     - Move init scripts from debian/ folder into upstream folders.
+    - Provide x2gothinclient-chroot.init script that tweaks the chroot
+      during thin client startup.
   * debian/control:
     + New bin:package x2gothinclient-chroot.
 
diff --git a/debian/x2gothinclient-chroot.init b/debian/x2gothinclient-chroot.init
new file mode 120000
index 0000000..79cca51
--- /dev/null
+++ b/debian/x2gothinclient-chroot.init
@@ -0,0 +1 @@
+../x2gothinclient-chroot/init/x2gothinclient-chroot.init
\ No newline at end of file
diff --git a/x2gothinclient-chroot/init/x2gothinclient-chroot.init b/x2gothinclient-chroot/init/x2gothinclient-chroot.init
new file mode 100644
index 0000000..c9e2e7c
--- /dev/null
+++ b/x2gothinclient-chroot/init/x2gothinclient-chroot.init
@@ -0,0 +1,31 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides:          x2gothinclient-chroot
+# Required-Start:    $local_fs
+# Required-Stop:
+# Default-Start:     S
+# Default-Stop:
+# X-Start-Before:    nfs-common alsa-utils
+# Short-Description: 
+# Description:       Prepare X2Go TCE tmpfs directories for usage
+### END INIT INFO
+
+case "$1" in
+  start|"")
+        # prep tmpfs subfolders for nfs-common
+        mkdir -p /var/lib/nfs/{rpc_pipefs,sm,sm.bak}
+        chown statd:nogroup /var/lib/nfs/{rpc_pipefs,sm,sm.bak}
+        exit 0
+        ;;
+  restart|reload|force-reload)
+        echo "Error: argument '$1' not supported" >&2
+        exit 3
+        ;;
+  stop)
+        # No-op
+        ;;
+  *)
+        echo "Usage: x2gothinclient-chroot start" >&2
+        exit 3
+        ;;
+esac


hooks/post-receive
-- 
x2gothinclient.git (X2Go Thin Client Environment)

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 "x2gothinclient.git" (X2Go Thin Client Environment).




More information about the x2go-commits mailing list