[X2Go-Commits] [x2gothinclient] 04/07: Provide init script for x2gothinclient-minidesktop to handle maintenance tasks if TCE is in MiniDesktop mode.
git-admin at x2go.org
git-admin at x2go.org
Fri Aug 22 17:40:12 CEST 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gothinclient.
commit ef99058907d0c9f287ce95172fce7c75854c5ac3
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Fri Aug 22 17:36:15 2014 +0200
Provide init script for x2gothinclient-minidesktop to handle maintenance tasks if TCE is in MiniDesktop mode.
---
debian/changelog | 2 ++
.../init/x2gothinclient-minidesktop.init | 29 ++++++++++++++++++++
2 files changed, 31 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index f7c03d2..3e0f5bd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ x2gothinclient (1.1.0.3-0x2go1) UNRELEASED; urgency=low
connect to X2Go sessions from there.
- x2gothinclient-minidesktop: Add WindowList applet to MATE panel.
- On $HOME creation, copy x2gothinclient-minidesktop.desktop into ~/Desktop.
+ - Provide init script for x2gothinclient-minidesktop to handle maintenance
+ tasks if TCE is in MiniDesktop mode.
- Add COPYING file.
- Avoid error message in x2gothinclient_shell if the chroot does not have
a file-or-symlink /etc/resolv.conf.
diff --git a/x2gothinclient-minidesktop/init/x2gothinclient-minidesktop.init b/x2gothinclient-minidesktop/init/x2gothinclient-minidesktop.init
new file mode 100644
index 0000000..9d33698
--- /dev/null
+++ b/x2gothinclient-minidesktop/init/x2gothinclient-minidesktop.init
@@ -0,0 +1,29 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides: x2gothinclient-minidesktop
+# Required-Start: $local_fs x2gothinclient-chroot
+# 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
+ 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
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gothinclient.git
More information about the x2go-commits
mailing list