[X2go-Commits] x2gothinclient.git - tmpfs (branch) updated: 3ff0240b43e1540901a9a500ca653619213ac116
X2go dev team
git-admin at x2go.org
Wed Jun 15 00:44:44 CEST 2011
The branch, tmpfs has been updated
via 3ff0240b43e1540901a9a500ca653619213ac116 (commit)
via 96aa9d8380fef27e38d2605cd758a46fdda98313 (commit)
from 8ec9cae88234569b0f834a6c1879dea3c0b8f81b (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 3ff0240b43e1540901a9a500ca653619213ac116
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Wed Jun 15 00:45:18 2011 +0200
Silence mounts/unmounts
commit 96aa9d8380fef27e38d2605cd758a46fdda98313
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Wed Jun 15 00:45:08 2011 +0200
Revert one line of last commit.
-----------------------------------------------------------------------
Summary of changes:
x2gothinclientmanagement/bin/x2gothinclient_shell | 2 +-
.../bin/x2gothinclient_upgrade | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
The diff of changes is:
diff --git a/x2gothinclientmanagement/bin/x2gothinclient_shell b/x2gothinclientmanagement/bin/x2gothinclient_shell
index 604127c..6798ca0 100755
--- a/x2gothinclientmanagement/bin/x2gothinclient_shell
+++ b/x2gothinclientmanagement/bin/x2gothinclient_shell
@@ -39,7 +39,7 @@ cat > "$TC_CHROOT/x2go_tce_shell.sh" <<EOF
#!/bin/bash
mount /proc &> /dev/null
mount /dev/pts &> /dev/null
-export HOME=/root &> /dev/null
+export HOME=/root
# export the proxy server (if any) to the shell.
export http_proxy=$TC_HTTP_PROXY
diff --git a/x2gothinclientmanagement/bin/x2gothinclient_upgrade b/x2gothinclientmanagement/bin/x2gothinclient_upgrade
index e7a4808..e1a755b 100755
--- a/x2gothinclientmanagement/bin/x2gothinclient_upgrade
+++ b/x2gothinclientmanagement/bin/x2gothinclient_upgrade
@@ -36,8 +36,8 @@ TC_CHROOT="${TC_CHROOT:-/opt/x2gothinclient}"
cat > "$TC_CHROOT/x2go_tc_update.sh" <<EOF
#!/bin/bash
-mount /proc
-mount /dev/pts
+mount /proc &> /dev/null
+mount /dev/pts &> /dev/null
export HOME=/root
export http_proxy=$TC_HTTP_PROXY
@@ -46,8 +46,8 @@ export ftp_proxy=$TC_FTP_PROXY
[ $? -eq 0 ] && apt-get update
[ $? -eq 0 ] && apt-get upgrade
-umount -l /proc
-umount -l /dev/pts
+umount -l /proc &> /dev/null
+umount -l /dev/pts &> /dev/null
EOF
chmod u+x "$TC_CHROOT/x2go_tc_update.sh"
chroot "$TC_CHROOT" /x2go_tc_update.sh
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