make pull

This commit is contained in:
Jeff Carr 2018-01-28 21:12:50 -10:00
parent 65efcfee2b
commit 65235b2dee
4 changed files with 13 additions and 8 deletions

View File

@ -4,6 +4,9 @@
all:
./clone-witcom.sh
pull:
./clone-witcom.sh update
setup:
echo put stuff here

View File

@ -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

View File

@ -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

View File

@ -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