Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
azure-cloud-mining-script
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
azure-cloud-mining-script
Commits
4507e209
There was an error fetching the commit references. Please try again later.
Commit
4507e209
authored
6 years ago
by
leonidas
Browse files
Options
Downloads
Patches
Plain Diff
No commit message
No commit message
parent
1d6b98fb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
azure_script/setup_vm_nim.sh
+4
-4
4 additions, 4 deletions
azure_script/setup_vm_nim.sh
with
4 additions
and
4 deletions
azure_script/setup_vm_nim.sh
+
4
−
4
View file @
4507e209
...
@@ -10,13 +10,13 @@ mkdir donation
...
@@ -10,13 +10,13 @@ mkdir donation
cp
-r
beepminer-0.3.4/
*
donation
cp
-r
beepminer-0.3.4/
*
donation
pool_address1
=
"
${
pool_address1
:-
eu
.sushipool.com
:443
}
"
pool_address1
=
"
${
pool_address1
:-
eu
.sushipool.com
:443
}
"
#multiply donation by
2
because we're running for
2
00 minutes, not 100 minutes
#multiply donation by
10
because we're running for
10
00 minutes, not 100 minutes
let
donation
*
=
2
let
donation
*
=
10
for
i
in
`
seq
1
15
`
;
for
i
in
`
seq
1
4
`
;
do
do
cd
beepminer-0.3.4
cd
beepminer-0.3.4
sudo timeout
2
00m ./miner
--wallet-address
=
"
$wallet1
"
--pool
=
$pool_address1
--deviceLabel
=
$miner_id
sudo timeout
10
00m ./miner
--wallet-address
=
"
$wallet1
"
--pool
=
$pool_address1
--deviceLabel
=
$miner_id
cd
..
cd
..
if
[
$donation
-gt
0
]
if
[
$donation
-gt
0
]
then
then
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment