Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Admin0705 committed Nov 23, 2017
1 parent 231bc45 commit 9d7ec68
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions scripts/menus/mine/1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ WantedBy=multi-user.target
EOF

sudo systemctl daemon-reload
sudo systemctl enable mine1
sudo systemctl start mine1

echo Thank you for enabling 1 Processor for Mining!
Expand Down
1 change: 1 addition & 0 deletions scripts/menus/mine/2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ WantedBy=multi-user.target
EOF

sudo systemctl daemon-reload
sudo systemctl enable mine2
sudo systemctl start mine2

echo Thank you for enabling 2 Processors for Mining!
Expand Down
1 change: 1 addition & 0 deletions scripts/menus/mine/4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ WantedBy=multi-user.target
EOF

sudo systemctl daemon-reload
sudo systemctl enable mine4
sudo systemctl start mine4

echo Thank you for enabling 4 Processors for Mining!
Expand Down
1 change: 1 addition & 0 deletions scripts/menus/mine/8.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ WantedBy=multi-user.target
EOF

sudo systemctl daemon-reload
sudo systemctl enable mine8
sudo systemctl start mine8

echo Thank you for enabling 8 Processors for Mining!
Expand Down
1 change: 1 addition & 0 deletions scripts/menus/mine/max.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ WantedBy=multi-user.target
EOF

sudo systemctl daemon-reload
sudo systemctl enable max
sudo systemctl start max

echo Thank you for enabling MAX Processors for Mining!
Expand Down
8 changes: 7 additions & 1 deletion scripts/menus/mine/stop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ systemctl stop mine4 1>/dev/null 2>&1
systemctl stop mine8 1>/dev/null 2>&1
systemctl stop minemax 1>/dev/null 2>&1

systemctl disable mine1 1>/dev/null 2>&1
systemctl disable mine2 1>/dev/null 2>&1
systemctl disable mine4 1>/dev/null 2>&1
systemctl disable mine8 1>/dev/null 2>&1
systemctl disable minemax 1>/dev/null 2>&1

echo All Mining has stopped!

echo All Mining Services Stopped! Reboot to Stop the Script!
echo
read -n 1 -s -r -p "Press any key to continue "

0 comments on commit 9d7ec68

Please sign in to comment.