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:
parent
256cafde21
commit
9c9941d265
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user