summaryrefslogtreecommitdiffstats
path: root/gold/mining/user/startup.sh
diff options
context:
space:
mode:
authorEUcancER <root@euer.krebsco.de>2011-08-25 18:43:50 +0200
committerEUcancER <root@euer.krebsco.de>2011-08-25 18:43:50 +0200
commit7499b82d0d8be67079c91e6d3b277dd65142c8ba (patch)
treec729ce62e9a12af2f399b60f284bef2d4dca1e81 /gold/mining/user/startup.sh
parentb56137d875f43026aeabcc4403252e5e7008b93a (diff)
parent561f37e4a24061bd70113ebc7951175e0d3e116f (diff)
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'gold/mining/user/startup.sh')
-rwxr-xr-xgold/mining/user/startup.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/gold/mining/user/startup.sh b/gold/mining/user/startup.sh
new file mode 100755
index 00000000..6274a892
--- /dev/null
+++ b/gold/mining/user/startup.sh
@@ -0,0 +1,13 @@
+sudo pkill tmux
+sleep 5
+source ~/.profile
+export DISPLAY=:0
+export URL="${URL-http://txgen_chinaman:lolwut@uk.btcguild.com:8332}"
+#export URL="http://txgen:qJrXefWX@bitcoinpool.com:8334"
+tmux start-server
+tmux new-session -d -s mining -n mining
+tmux new-window -t mining:1 'cd ~;AMDOverdriveCtrl -i 0 mining.ovdr'
+tmux new-window -t mining:2 'cd ~;AMDOverdriveCtrl -i 3 mining.ovdr'
+sleep 5
+tmux new-window -t mining:3 "cd /usr/src/phoenix-miner/; while sleep 1; do sudo ./phoenix.py -u $URL -k phatk DEVICE=0 VECTORS BFI_INT WORKSIZE=256 AGGRESSION=12 FASTLOOPS=false;done"
+tmux new-window -t mining:4 "cd /usr/src/phoenix-miner/; while sleep 1; do sudo ./phoenix.py -u $URL -k phatk DEVICE=1 VECTORS BFI_INT WORKSIZE=256 AGGRESSION=12 FASTLOOPS=false;done"