forked from qo-op/G1BILLET
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
|
if [[ $isLAN ]]; then
|
||||||
HNAME="http://g1billet.localhost"
|
HNAME="http://g1billet.localhost"
|
||||||
else
|
else
|
||||||
HNAME="http://$(hostname)"
|
HNAME="http://qo-op.com"
|
||||||
fi
|
fi
|
||||||
RNAME="$HNAME:33102"
|
RNAME="$HNAME:33102"
|
||||||
|
|
||||||
@ -249,7 +249,7 @@ cat ${ZFILE} >> ${MY_PATH}/tmp/http.${MOATS}
|
|||||||
# NETCAT PUBLISH port=33102
|
# NETCAT PUBLISH port=33102
|
||||||
echo "33102 LOADING"
|
echo "33102 LOADING"
|
||||||
(cat ${MY_PATH}/tmp/http.${MOATS} | nc -l -p 33102 -q 1 > /dev/null 2>&1) &
|
(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 "${MY_PATH}/tmp/http.${MOATS}"
|
||||||
|
|
||||||
rm -f "${ZFILE}"
|
rm -f "${ZFILE}"
|
||||||
|
Loading…
Reference in New Issue
Block a user