[X2go-Commits] x2gothinclient.git - tmpfs (branch) updated: eca2aae1a342cd1ec352cd329b216ab28317f629

X2go dev team git-admin at x2go.org
Fri Jun 17 19:25:12 CEST 2011


The branch, tmpfs has been updated
       via  eca2aae1a342cd1ec352cd329b216ab28317f629 (commit)
      from  10589b8bb5b1bab7d230dc369ca7c5b021d21c6d (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 eca2aae1a342cd1ec352cd329b216ab28317f629
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Jun 17 19:25:22 2011 +0200

    Trying to symlink /etc/mtab to /proc/mounts (should work with /etc/init.d/mtab.sh on Debian squeeze)

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

Summary of changes:
 .../sbin/x2gothinclient_create                     |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

The diff of changes is:
diff --git a/x2gothinclientmanagement/sbin/x2gothinclient_create b/x2gothinclientmanagement/sbin/x2gothinclient_create
index 78c9313..a71bf6e 100755
--- a/x2gothinclientmanagement/sbin/x2gothinclient_create
+++ b/x2gothinclientmanagement/sbin/x2gothinclient_create
@@ -80,7 +80,6 @@ none	/tmp			tmpfs	size=50M,mode=1777	0	0
 none	/root			tmpfs	size=100M,mode=700	0	0
 none	/etc/network/run	tmpfs	size=50M		0	0
 none	/etc/udev/rules.d	tmpfs	size=50M		0	0
-none	/etc/mtab.tmp		tmpfs	size=50M		0	0
 none	/var/run		tmpfs	size=50M		0	0
 none	/var/log		tmpfs	size=50M		0	0
 none	/var/lock		tmpfs	size=50M		0	0
@@ -154,8 +153,7 @@ PATCH
 
 # tweak mtab diversion
 [ \$? -eq 0 ] && rm -f /etc/mtab
-[ \$? -eq 0 ] && mkdir /etc/mtab.tmp
-[ \$? -eq 0 ] && ln -sf /etc/mtab.tmp/mtab /etc/mtab
+[ \$? -eq 0 ] && ln -sf /proc/mounts /etc/mtab
 
 # restore start-stop-daemon
 [ `stat --format '%s' /sbin/start-stop-daemon` -lt 200 ] && mv /sbin/start-stop-daemon.keep /sbin/start-stop-daemon


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