ref: 8e371128541d03aa5b0dc84ea6c68a760dcefae7
parent: c647ac0337f82a8ee91b99972b10ef7caea71353
author: Michael Misch <michaelmisch1985@gmail.com>
date: Mon May 8 02:17:53 PDT 2023
Ensure we log that we're waiting
--- a/barrier
+++ b/barrier
@@ -9,11 +9,12 @@
sysname=`{sysnames | fm -p}
if(~ $#sysname 0)
exit
-echo Connecting to $sysname
+
tlsclient tcp!$sysname!24800 barrera &
while(){
sleep 1
+ echo Connecting to $sysname...
netstat | grep 24800 | grep -s Established || continue
echo Ready
exit