From 120d5547f5741ee6dc0e96e680902f39a2cfd00c Mon Sep 17 00:00:00 2001 From: q Date: Sun, 18 Dec 2016 23:43:48 +0200 Subject: [PATCH] more compatible switches --- web/scotty | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/scotty b/web/scotty index b0cb5b3..4f9a026 100755 --- a/web/scotty +++ b/web/scotty @@ -37,9 +37,9 @@ printf "\n| %15s | %s\n" IP Hostname for addr in $( hostname -I ); do printf "| %15s | %s\n" $addr $( dig +short -x $addr ) done -echo Scotty, beam $( hostname ) down | nc -l -p $PORT +echo Scotty, beam $( hostname ) down | nc -l $PORT echo Transporter locking to signature -tar -cv $SCOTTY_TAR "$2" | $PV | nc -l -p $PORT +tar -cv $SCOTTY_TAR "$2" | $PV | nc -l $PORT } [[ "$1" = down ]] && { nc -w 10 "$2" $PORT