ethstats-client/bin/eth.sh

8 lines
185 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
geth -rpc -rpcport "8080" -maxpeers "50" -loglevel "1"
else
2015-04-03 14:02:52 +02:00
eth -b -x 50 -r 52.16.188.185 -p 30303 -m off -n off -v 0 -j
fi