summaryrefslogtreecommitdiffstats
path: root/mining
diff options
context:
space:
mode:
authoruser <user@bergwerk>2011-06-22 00:19:00 +0000
committeruser <user@bergwerk>2011-06-22 00:19:00 +0000
commit9ab87e479e1f75665bc69623eeb740758acb3f0a (patch)
treeef1136656e093baa93dfa3a628de897b2ae54b99 /mining
parente54a21f2247130db78b38d01567080011c1775a2 (diff)
mining/user/startup.sh: use URL from env
Diffstat (limited to 'mining')
-rw-r--r--mining/user/startup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mining/user/startup.sh b/mining/user/startup.sh
index c330b984..eb2ce13a 100644
--- a/mining/user/startup.sh
+++ b/mining/user/startup.sh
@@ -3,7 +3,7 @@ sudo pkill tmux
sleep 1
export DISPLAY=:0
-export URL="http://txgen_chinaman:lolwut@uk.btcguild.com:8332"
+export URL="${URL-http://txgen_chinaman:lolwut@uk.btcguild.com:8332}"
#export URL="http://txgen:qJrXefWX@bitcoinpool.com:8334"
slock &
tmux start-server