make pull
This commit is contained in:
parent
65efcfee2b
commit
65235b2dee
3
Makefile
3
Makefile
|
@ -4,6 +4,9 @@
|
|||
all:
|
||||
./clone-witcom.sh
|
||||
|
||||
pull:
|
||||
./clone-witcom.sh update
|
||||
|
||||
setup:
|
||||
echo put stuff here
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
# ./claymore/ethdcrminer64 -epool eth-us-west1.nanopool.org:9999 -ewal 0x379c6deeedaf4d652d0c5406db7c1632a37d0f81.linuxrig1/basilarchia@gmail.com
|
||||
|
||||
# ./claymore/ethdcrminer64 -epool eth-us-west1.nanopool.org:9999 -ewal 0x379c6deeedaf4d652d0c5406db7c1632a37d0f81.linuxrig1/basilarchia@gmail.com -epsw x -mode 1 -ftime 10
|
||||
./mining-binaries/claymore/ethdcrminer64 -epool eth-us-west1.nanopool.org:9999 -ewal 0x8C9f44Fa7DfC4AfF22bB950c628c3B7E518C2e86.amd580clay/basilarchia@gmail.com -epsw x -mode 1 -ftime 10
|
|
@ -1,5 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
ARGV1=$1
|
||||
BASEPATH=`pwd`
|
||||
cd $BASEPATH
|
||||
|
||||
# Check to see if the directory already exists and has a working .git directory
|
||||
checkforgit()
|
||||
{
|
||||
|
@ -8,6 +12,12 @@ checkforgit()
|
|||
|
||||
if [ -d $path ]; then
|
||||
echo $path already exists
|
||||
if [ "$ARGV1" = update ] ; then
|
||||
cd $path
|
||||
git pull
|
||||
git submodule update --init --recursive
|
||||
cd $BASEPATH
|
||||
fi
|
||||
return 0
|
||||
else
|
||||
echo $path does not exist. need to git clone here
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
HOSTNAME=`hostname`
|
||||
|
||||
echo "/root/cgminer/cgminer -o stratum+tcp://us.multipool.us:3363 -u basilarchia.$HOSTNAME -p x"
|
||||
/root/cgminer/cgminer -o stratum+tcp://us.multipool.us:3363 -u basilarchia.$HOSTNAME -p x
|
Loading…
Reference in New Issue