Commit 9245c40c authored by duanjinfei's avatar duanjinfei

update start.sh

parent 997fbc69
......@@ -2,10 +2,10 @@
echo "Received REWARD_ADDRESS=$REWARD_ADDRESS"
echo "Received DOCKER_SERVER=$DOCKER_SERVER"
echo "Received OP_SYS_NAME=$OP_SYS"
if [ "$DOCKER_SERVER" ]; then
/usr/bin/powerNode -r "$REWARD_ADDRESS" -d "$DOCKER_SERVER" -e "$(curl -s ifconfig.me)"
if [ "$OP_SYS" ]; then
/usr/bin/powerNode -r "$REWARD_ADDRESS" -s "$OP_SYS" -e "$(curl -s ifconfig.me)"
else
/usr/bin/powerNode --reward "$REWARD_ADDRESS" -e "$(curl -s ifconfig.me)"
/usr/bin/powerNode -r "$REWARD_ADDRESS" -e "$(curl -s ifconfig.me)"
fi
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment