ethstats-client/bin/eth.sh

8 lines
178 B
Bash
Raw Normal View History

2015-02-12 22:59:01 +01:00
#!/bin/bash
trap "exit" INT
2015-04-03 00:02:32 +02:00
if [[ -f /usr/bin/geth ]];
then
2015-04-04 03:49:19 +02:00
geth -rpc -rpcport "8080" -maxpeers "20" -loglevel "2"
else
2015-04-04 04:37:38 +02:00
eth -b -x 20 -r 52.16.188.185 -p 30303 -m off -v 1 -j
fi