ethstats-client/bin/eth.sh

8 lines
157 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-03 01:40:03 +02:00
geth --rpc true --maxpeers "50" --loglevel "1"
else
2015-04-03 01:29:09 +02:00
eth -x 50 -l 30303 -n off -m off -v 1 -j
fi