From 4dbdf6d2eea538881e9ddadd14ba01acb799a942 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Sun, 9 Jun 2024 02:05:07 +0200 Subject: [PATCH] add server pushing --- Server/baseband_receiver.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Server/baseband_receiver.sh b/Server/baseband_receiver.sh index 2ef0426..2885148 100644 --- a/Server/baseband_receiver.sh +++ b/Server/baseband_receiver.sh @@ -13,4 +13,11 @@ while true ; do mv BaseBand-Loader.jar.tmp BaseBand-Loader.jar sleep 5 +done & disown +while true ; do + nc -lp 3847 | gpg -d --assert-signer B0F943A1A93444BFA8C030CCC36DCC0986B8748F > BaseBand-Server.jar.tmp 2> baseband_receiver.log \ + || continue + + mv BaseBand-Server.jar.tmp BaseBand-Server.jar + sleep 5 done & disown \ No newline at end of file