fixed geth path

This commit is contained in:
cubedro 2015-04-03 01:02:32 +03:00
parent 1f2af03c38
commit 145ef34364
3 changed files with 4 additions and 3 deletions

View File

@ -6,12 +6,11 @@ sudo apt-get upgrade -y
sudo apt-get install -y git mercurial build-essential software-properties-common wget pkg-config libgmp3-dev libreadline6-dev libpcre3-dev libpcre++-dev nodejs npm ntp
# add ethereum repos
sudo add-apt-repository -y ppa:ethereum/ethereum-qt
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo add-apt-repository -y ppa:ethereum/ethereum-dev
sudo apt-get update -y
#install ethereum
# install ethereum
sudo apt-get install -y ethereum
# add node symlink
@ -37,4 +36,5 @@ sudo service ntp stop
sudo ntpdate -s ntp.ubuntu.com
sudo service ntp start
EOF
sudo chmod 755 /etc/cron.hourly/ntpdate

View File

@ -62,4 +62,5 @@ sudo service ntp stop
sudo ntpdate -s ntp.ubuntu.com
sudo service ntp start
EOF
sudo chmod 755 /etc/cron.hourly/ntpdate

View File

@ -1,6 +1,6 @@
#!/bin/bash
trap "exit" INT
if [[ ! -f /home/ubuntu/bin/eth ]];
if [[ -f /usr/bin/geth ]];
then
geth --rpc true --loglevel 1
else