From 3cf2e3aeef1f62429281399b2e7e3ae98408260d Mon Sep 17 00:00:00 2001 From: user Date: Wed, 22 Jun 2011 00:19:00 +0000 Subject: mining/user/startup.sh: use URL from env --- btc/mining/user/startup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3