Assume it was done at install time.

Mostly this is to avoid my sitting around waiting 20s when using
standalone mode, perhaps there is a better way?

Signed-off-by: Ian Campbell <ian.campb...@citrix.com>
---
 ts-host-ping-check | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ts-host-ping-check b/ts-host-ping-check
index 74c008c..ca8920c 100755
--- a/ts-host-ping-check
+++ b/ts-host-ping-check
@@ -26,6 +26,8 @@ our ($whhost) = @ARGV;
 $whhost ||= 'host';
 our $ho= selecthost($whhost);
 
+exit 0 if $ho->{SharedReady};
+
 $_ = `ping -D -i 0.2 -c 100 $ho->{Ip} | tee /dev/stderr`;
 
 m/\b([0-9.]+)% packet loss\b/ or die "$_ ?";
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to