From 6894e26fc16f9cac90ef5ea6b547618f70b0edc9 Mon Sep 17 00:00:00 2001 From: epoch Date: Sat, 18 Apr 2020 07:41:01 +0000 Subject: rearrange radio buttons, use socat instead of ncat for connecting to local hackvr service from the ssh command. fixed a missing "cd" in hackvrd.sh --- share/hackvr/examples/hackvrd/hackvr-subsystem | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'share/hackvr/examples/hackvrd/hackvr-subsystem') diff --git a/share/hackvr/examples/hackvrd/hackvr-subsystem b/share/hackvr/examples/hackvrd/hackvr-subsystem index ad99b84..024a896 100755 --- a/share/hackvr/examples/hackvrd/hackvr-subsystem +++ b/share/hackvr/examples/hackvrd/hackvr-subsystem @@ -1,5 +1,7 @@ #!/bin/bash +set -o pipefail + if [ "$1" ];then derp="$USER action $1" fi -cat <(echo $derp) /dev/stdin | ncat 127.0.0.1 1337 +cat <(echo $derp) /dev/stdin | socat tcp-connect:127.0.0.1:1337,null-eof stdio -- cgit v1.2.3