[X2Go-Commits] [live-build-x2go] 46/167: next try: backgrounding this task instead of starting it when network becomes available
git-admin at x2go.org
git-admin at x2go.org
Sat Nov 18 00:32:39 CET 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/openbox-magic-pixel-workaround
in repository live-build-x2go.
commit e2cf76cfd76b9e33666d26c0b6f13aba3e9ce6fe
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date: Sun Jul 23 20:42:51 2017 +0200
next try: backgrounding this task instead of starting it when network becomes available
---
.../lib/live/config/2000-waitforvts | 24 ++++++++++++----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/config/includes.chroot/lib/live/config/2000-waitforvts b/config/includes.chroot/lib/live/config/2000-waitforvts
index d1b10a7..ac78d84 100755
--- a/config/includes.chroot/lib/live/config/2000-waitforvts
+++ b/config/includes.chroot/lib/live/config/2000-waitforvts
@@ -7,19 +7,21 @@ WaitForVTs ()
#
echo -n " waitforvts"
-cat >/etc/network/if-up.d/0000-waitforvts <<WAITFORVTS
-#!/bin/bash
-export TERM=linux;
+#cat >/etc/network/if-up.d/0000-waitforvts <<WAITFORVTS
+##!/bin/bash
+#export TERM=linux;
-# wait until terminal is available
-while [ \$(fgconsole -n) -lt 7 ] || ! [ -c /dev/tty\$(fgconsole -n) ] ; do
- echo -en "\n'\$0' is waiting for an unused VT to become available."
- sleep 2
-done
-fgconsole -n >/var/run/availablevt
-WAITFORVTS
+(
+ # wait until terminal is available
+ while [ \$(fgconsole -n) -lt 7 ] || ! [ -c /dev/tty\$(fgconsole -n) ] ; do
+ echo -en "\n'\$0' is waiting for an unused VT to become available."
+ sleep 2
+ done
+ fgconsole -n >/var/run/availablevt
+) &
+#WAITFORVTS
-chmod 755 /etc/network/if-up.d/0000-waitforvts
+#chmod 755 /etc/network/if-up.d/0000-waitforvts
}
--
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