ethstats-client/bin/eth.sh
2015-04-04 05:37:38 +03:00

8 lines
178 B
Bash

#!/bin/bash
trap "exit" INT
if [[ -f /usr/bin/geth ]];
then
geth -rpc -rpcport "8080" -maxpeers "20" -loglevel "2"
else
eth -b -x 20 -r 52.16.188.185 -p 30303 -m off -v 1 -j
fi