diff --git a/bin/build-go.sh b/bin/build-go.sh index 61a70d5..f2f8982 100644 --- a/bin/build-go.sh +++ b/bin/build-go.sh @@ -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 diff --git a/bin/build.sh b/bin/build.sh index d0f4f53..faff6df 100644 --- a/bin/build.sh +++ b/bin/build.sh @@ -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 diff --git a/bin/eth.sh b/bin/eth.sh index 6249615..030f6e2 100644 --- a/bin/eth.sh +++ b/bin/eth.sh @@ -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