BaseBandRewrite/Server/baseband_receiver.sh
TudbuT 73219e1ad3
All checks were successful
/ Build BaseBand Loader (push) Successful in 2m17s
/ Build BaseBand (push) Successful in 2m45s
/ Build BaseBand Installer (push) Successful in 1m13s
/ Build BaseBand Server (push) Successful in 2m2s
refactor branch names to be central
2024-10-04 21:01:23 +02:00

15 lines
No EOL
361 B
Bash

#!/bin/bash
function receive() {
while true ; do
nc -lp "$1" | gpg -d --assert-signer B0F943A1A93444BFA8C030CCC36DCC0986B8748F | head -cn20000000 > "BaseBand-$2.jar.tmp" 2>> baseband_receiver.log \
|| continue
mv "BaseBand-$2.jar.tmp" "BaseBand-$2.jar"
sleep 5
done & disown
}
receive 3849 release
receive 3848 Loader
receive 3847 Server