SLURP message
This commit is contained in:
parent
5b4bee5066
commit
36409d10f3
|
@ -413,7 +413,7 @@ echo "" > ~/.zen/tmp/.ipfsgw.bad.twt # TODO move in 20h12.sh
|
||||||
# GETIPNS
|
# GETIPNS
|
||||||
##############################################
|
##############################################
|
||||||
if [[ $APPNAME == "getipns" ]]; then
|
if [[ $APPNAME == "getipns" ]]; then
|
||||||
echo "$HTTPCORS url=/ipns/${ASTRONAUTENS}"| nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &
|
( echo "$HTTPCORS url=/ipns/${ASTRONAUTENS}"| nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && echo "SLURP : ${ASTRONAUTENS}" ) &
|
||||||
end=`date +%s`
|
end=`date +%s`
|
||||||
echo $APPNAME "(☉_☉ ) /ipns/${ASTRONAUTENS} Execution time was "`expr $end - $start` seconds.
|
echo $APPNAME "(☉_☉ ) /ipns/${ASTRONAUTENS} Execution time was "`expr $end - $start` seconds.
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -423,7 +423,7 @@ echo "" > ~/.zen/tmp/.ipfsgw.bad.twt # TODO move in 20h12.sh
|
||||||
# GETG1PUB
|
# GETG1PUB
|
||||||
##############################################
|
##############################################
|
||||||
if [[ $APPNAME == "getg1pub" ]]; then
|
if [[ $APPNAME == "getg1pub" ]]; then
|
||||||
echo "$HTTPCORS url=/user/${G1PUB}"| nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &
|
( echo "$HTTPCORS url=/user/${G1PUB}"| nc -l -p ${PORT} -q 1 > /dev/null 2>&1 && echo "SLURP : ${G1PUB}" ) &
|
||||||
end=`date +%s`
|
end=`date +%s`
|
||||||
echo $APPNAME "(☉_☉ ) /ipns/${ASTRONAUTENS} Execution time was "`expr $end - $start` seconds.
|
echo $APPNAME "(☉_☉ ) /ipns/${ASTRONAUTENS} Execution time was "`expr $end - $start` seconds.
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue