ethstats-client/bin/eth.sh

8 lines
177 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:48:34 +02:00
geth -rpc -rpcport "8080" -maxpeers "50" -loglevel "2"
else
2015-04-04 03:48:34 +02:00
eth -b -x 50 -r 52.5.125.115 -p 30303 -m off -v 1 -j
fi