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