This commit is contained in:
fred 2023-02-23 20:08:40 +01:00
parent becbdb14db
commit 3586f0a56d
1 changed files with 2 additions and 2 deletions

View File

@ -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}"