SUB : http://qo-op.com:33101 & PUB : http://qo-op.com:33102
This commit is contained in:
parent
becbdb14db
commit
3586f0a56d
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue