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

X2go dev team git-admin at x2go.org
Wed Jun 15 00:06:57 CEST 2011


The branch, tmpfs has been updated
       via  6a0f93df87a3e2ae3226b1e15d548fc21ecc15a3 (commit)
      from  fc86ce209cf31ff52c0dc7605f48949362c64826 (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 6a0f93df87a3e2ae3226b1e15d548fc21ecc15a3
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Jun 15 00:07:20 2011 +0200

    Add a test for already existing PXE boot configs

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

Summary of changes:
 .../bin/x2gothinclient_preptftpboot                |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

The diff of changes is:
diff --git a/x2gothinclientmanagement/bin/x2gothinclient_preptftpboot b/x2gothinclientmanagement/bin/x2gothinclient_preptftpboot
index 166ff4f..8817f35 100755
--- a/x2gothinclientmanagement/bin/x2gothinclient_preptftpboot
+++ b/x2gothinclientmanagement/bin/x2gothinclient_preptftpboot
@@ -40,7 +40,12 @@ TC_CHROOT="${TC_CHROOT:-$TC_BASE/chroot}"
 TC_TFTP_FILES="${TC_TFTP_FILES:-$SHAREDIR/tftpboot}"
 TC_TFTP_BOOT="${TC_TFTP_BOOT:-/srv/tftp}"
 
-mkdir -p "$TC_TFTP_FILES"
+mkdir -p "$TC_TFTP_BOOT"
+
+test -d "$TC_TFTP_BOOT/pxelinux.cfg" && { 
+    echo "PXE boot files already found at $TC_TFTP_BOOT. Clear $TC_TFTP_BOOT/ and then run $(basename $0) again..."
+    exit -1
+}
 
 echo "Preparing PXE boot configuration for X2go TCE..."
 echo "------------------------------------------------"


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