summaryrefslogtreecommitdiffstats
path: root/btc/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
commit3cf2e3aeef1f62429281399b2e7e3ae98408260d (patch)
tree8a31cd908c44bc353d84f4d6d3e50b0a3e7ad1cc /btc/mining
parentf4acc6cc3d57be693bc79ec28ca05587f9d72b69 (diff)
mining/user/startup.sh: use URL from env
Diffstat (limited to 'btc/mining')
-rw-r--r--btc/mining/user/startup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/btc/mining/user/startup.sh b/btc/mining/user/startup.sh
index c330b984..eb2ce13a 100644
--- a/btc/mining/user/startup.sh
+++ b/btc/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