[X2Go-Commits] [live-build-x2go] 34/160: moved "wait until unused VT becomes available" from 2300 to 2000

git-admin at x2go.org git-admin at x2go.org
Sat Nov 18 01:55:36 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/openbox
in repository live-build-x2go.

commit 4ce959fb86eb0ee08a06f396835487c3d3253ced
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Sun Jul 23 13:09:23 2017 +0200

    moved "wait until unused VT becomes available" from 2300 to 2000
---
 config/includes.chroot/lib/live/config/2000-showifconfig    | 5 +++++
 config/includes.chroot/lib/live/config/2300-live-autoupdate | 5 -----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/config/includes.chroot/lib/live/config/2000-showifconfig b/config/includes.chroot/lib/live/config/2000-showifconfig
index 24268ac..9467e47 100755
--- a/config/includes.chroot/lib/live/config/2000-showifconfig
+++ b/config/includes.chroot/lib/live/config/2000-showifconfig
@@ -7,6 +7,11 @@ ShowIFConfig ()
 #
 echo -n " showifconfig"
 
+# wait until terminal is available
+while ! [ -c /dev/tty$(fgconsole -n) ] ; do
+	sleep 10
+done
+
 # Make sure no language-specific stuff interferes with our matching
 # grep: highlight everything that matches "inet" to the end of its line
 # and also (-E, |$) show every line that has an end => Everything else
diff --git a/config/includes.chroot/lib/live/config/2300-live-autoupdate b/config/includes.chroot/lib/live/config/2300-live-autoupdate
index d09130d..7e88812 100755
--- a/config/includes.chroot/lib/live/config/2300-live-autoupdate
+++ b/config/includes.chroot/lib/live/config/2300-live-autoupdate
@@ -34,11 +34,6 @@ echo -n " live-autoupdater (backgrounding update task)"
 #
 (
 
-# wait until terminal is available
-while ! [ -c /dev/tty$(fgconsole -n) ] ; do
-	sleep 10
-done
-
 # redirect all output to first available VT console
 #
 exec >/dev/tty$(fgconsole -n) 2>&1

--
Alioth's /srv/git/code.x2go.org/live-build-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list