1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-12-02 05:57:21 +01:00

Update start_ocean.sh

This commit is contained in:
Alex Coseru 2019-10-11 08:12:56 +03:00 committed by GitHub
parent 256cafde21
commit 9c9941d265
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,13 +125,13 @@ export LOCAL_GROUP_ID=$(id -g)
#add aquarius to /etc/hosts
#if grep -q "aquarius" /etc/hosts; then
# echo "aquarius exists"
#else
# sudo echo "127.0.0.1 aquarius" >> /etc/hosts;
#fi
if [ ${IP} = "localhost" ]; then
if grep -q "aquarius" /etc/hosts; then
echo "aquarius exists"
else
sudo echo "127.0.0.1 aquarius" >> /etc/hosts;
fi
fi
# colors
COLOR_R="\033[0;31m" # red