ethstats-client/bin/eth.sh
2015-04-03 03:36:56 +03:00

8 lines
152 B
Bash

#!/bin/bash
trap "exit" INT
if [[ -f /usr/bin/geth ]];
then
geth -rpc -maxpeers "50" -loglevel "1"
else
eth -b -x 50 -l 30303 -n off -m off -v 1 -j
fi