[X2Go-Commits] [live-build-x2go] 07/167: more reliable way of determining that IP has been assigned
git-admin at x2go.org
git-admin at x2go.org
Sat Nov 18 00:32:33 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 7593795b56371657d79d752de6bb18a1c74aaf92
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date: Fri Jul 21 14:39:41 2017 +0200
more reliable way of determining that IP has been assigned
---
config/includes.chroot/lib/live/config/2000-showifconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/includes.chroot/lib/live/config/2000-showifconfig b/config/includes.chroot/lib/live/config/2000-showifconfig
index 20896d4..b3e6f89 100755
--- a/config/includes.chroot/lib/live/config/2000-showifconfig
+++ b/config/includes.chroot/lib/live/config/2000-showifconfig
@@ -16,7 +16,7 @@ cat >/etc/network/if-up.d/showips <<SHOWIPS
#!/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
--
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