From 3586f0a56d498b86793a39d89307e4ee5cb21a0e Mon Sep 17 00:00:00 2001 From: fred Date: Thu, 23 Feb 2023 20:08:40 +0100 Subject: [PATCH] SUB : http://qo-op.com:33101 & PUB : http://qo-op.com:33102 --- G1BILLETS.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/G1BILLETS.sh b/G1BILLETS.sh index 07b47db..a3fcb28 100755 --- a/G1BILLETS.sh +++ b/G1BILLETS.sh @@ -132,7 +132,7 @@ isLAN=$(route -n |awk '$1 == "0.0.0.0" {print $2}' | grep -E "/(^127\.)|(^192\.1 if [[ $isLAN ]]; then HNAME="http://g1billet.localhost" else - HNAME="http://$(hostname)" + HNAME="http://qo-op.com" fi RNAME="$HNAME:33102" @@ -249,7 +249,7 @@ cat ${ZFILE} >> ${MY_PATH}/tmp/http.${MOATS} # NETCAT PUBLISH port=33102 echo "33102 LOADING" (cat ${MY_PATH}/tmp/http.${MOATS} | nc -l -p 33102 -q 1 > /dev/null 2>&1) & -echo "DELIVERED ${MOATS} : http://g1billet.localhost:33102" +echo "DELIVERED ${MOATS} : $$RNAME" rm -f "${MY_PATH}/tmp/http.${MOATS}" rm -f "${ZFILE}"