summaryrefslogtreecommitdiffstats
path: root/mining/user/startup.sh
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
commit8f900fff02ac22ba87c35e6745af11c0b8d98855 (patch)
treef239d6f2a8e2c9e5e201b13aea80e77984035f53 /mining/user/startup.sh
parent9adf9b9c122dbf0dc81c82d2421c8b147d41dc21 (diff)
mining/user/startup.sh: use URL from env
Diffstat (limited to 'mining/user/startup.sh')
-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