From 82a2b67abd4d987b8b089f760556d8707a68b69a Mon Sep 17 00:00:00 2001 From: Fred Clausen <43556888+fredclausen@users.noreply.github.com> Date: Sat, 9 Dec 2023 12:49:05 -0700 Subject: [PATCH] s6 wrap doesn't need to append data to the server packets --- rootfs/etc/s6-overlay/scripts/hfdl_server | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rootfs/etc/s6-overlay/scripts/hfdl_server b/rootfs/etc/s6-overlay/scripts/hfdl_server index 41e5185..bcae830 100755 --- a/rootfs/etc/s6-overlay/scripts/hfdl_server +++ b/rootfs/etc/s6-overlay/scripts/hfdl_server @@ -1,13 +1,11 @@ #!/command/with-contenv bash #shellcheck shell=bash -source /scripts/common - set -o pipefail set -e # Listens for the output of dumphfdl (UDP), and makes it available for multiple processes at TCP port 15555 # shellcheck disable=SC2016 -"${s6wrap[@]}" socat -u udp-listen:5556,fork stdout | ncat -4 --keep-open --listen 0.0.0.0 15556 +socat -u udp-listen:5556,fork stdout | ncat -4 --keep-open --listen 0.0.0.0 15556 sleep 5