From 077bb661680b4bdf7a28f3f7ef47ea53151440cb Mon Sep 17 00:00:00 2001 From: AndreaLanfranchi Date: Sun, 15 Jul 2018 14:45:28 +0200 Subject: [PATCH] Linux start bash --- Scripts/neth-proxy.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Scripts/neth-proxy.sh diff --git a/Scripts/neth-proxy.sh b/Scripts/neth-proxy.sh new file mode 100644 index 0000000..e256cf9 --- /dev/null +++ b/Scripts/neth-proxy.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +# ======================================================================================= +# +# This file is part of neth-proxy. +# +# neth-proxy is free software: you can redistribute it and/or modify +# it under the terms Of the GNU General Public License As published by +# the Free Software Foundation, either version 3 Of the License, Or +# (at your option) any later version. +# +# neth-proxy is distributed In the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty Of +# MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License For more details. +# +# You should have received a copy Of the GNU General Public License +# along with neth-proxy. If not, see < http://www.gnu.org/licenses/ >. +# +# ======================================================================================= + +# Here you can hardcode your arguments if you wish. +ARGS="-sp 0x9E431042fAA3224837e9BEDEcc5F4858cf0390B9@eu1.ethermine.org:4444 --report-hashrate --work-timeout 120 --response-timeout 2000 --report-workers --stats-interval 10 --api-bind 3333" + +# If you pass arguments on the command line they will override the above statement +if [ "$@" != "" ]; then + ARGS=$@ +fi +clear +dotnet exec neth-proxy.dll $ARGS