[X2Go-Commits] [live-build-x2go] 08/160: more reliable way of determining that IP has been assigned

git-admin at x2go.org git-admin at x2go.org
Sat Nov 18 01:55:33 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 a15fbba71a7a099c5def51623f2507de7779d221
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Fri Jul 21 14:41:42 2017 +0200

    more reliable way of determining that IP has been assigned
---
 config/includes.chroot/lib/live/config/2600-x2go-getsessions | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/includes.chroot/lib/live/config/2600-x2go-getsessions b/config/includes.chroot/lib/live/config/2600-x2go-getsessions
index 74524fc..c628283 100755
--- a/config/includes.chroot/lib/live/config/2600-x2go-getsessions
+++ b/config/includes.chroot/lib/live/config/2600-x2go-getsessions
@@ -15,7 +15,7 @@ X2GoGetSessions ()
 #!/bin/bash
 export TERM=linux;
 
-while ! ip a | grep -v "inet 127.0.0.1" | grep -v "inet6 ::1/128" | grep -q inet ; do
+while [ -z "$(hostname -I)" ] ; do
         sleep 2
 done
 if echo "$SESSIONSURL" | grep -q "^tftp://" ; then

--
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