freicoin.sh.sample
This commit is contained in:
10
freicoin.sh.sample
Normal file
10
freicoin.sh.sample
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
#Replace this script with one of your own.
|
||||
|
||||
#Send the quit command to any cgminer instances running
|
||||
echo "{\"command\":\"quit\"}" | nc 127.0.0.1 4028
|
||||
#Kill vanityminer - inelegant, but works
|
||||
#killall oclvanityminer
|
||||
#Start Bitcoin mining with API access enabled for the above command in the future
|
||||
export DISPLAY=:0
|
||||
screen -dmS cgm cgminer -c ~/.cgminer/freicoin.conf --api-network --api-listen --api-allow W:127.0.0.1
|
||||
Reference in New Issue
Block a user