mirror of
https://github.com/seanwhe/xmrig-bash-scripts.git
synced 2024-11-24 06:07:34 +03:00
fix
This commit is contained in:
parent
c1e262821f
commit
f3bbf6cedd
14
install.sh
14
install.sh
@ -36,13 +36,6 @@ sleep 5
|
||||
. settings.sh
|
||||
sleep 5
|
||||
|
||||
# User input
|
||||
. input.sh
|
||||
sleep 5
|
||||
|
||||
# Stop running instance
|
||||
. stop.sh
|
||||
|
||||
# Update system
|
||||
. maintenance.sh
|
||||
sleep 5
|
||||
@ -51,6 +44,13 @@ sleep 5
|
||||
. depends.sh
|
||||
sleep 5
|
||||
|
||||
# User input
|
||||
. input.sh
|
||||
sleep 5
|
||||
|
||||
# Stop running instance
|
||||
. stop.sh
|
||||
|
||||
# Get source and build by sourcing our build file
|
||||
. build.sh
|
||||
sleep 5
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
echo "${_GREEN}MAINTENANCE STARTED${_RESET}"
|
||||
|
||||
if [ $_APT_MAINETANCE -eq 1 ]; then
|
||||
if [ "$_APT_MAINETANCE" -eq "1" ]; then
|
||||
|
||||
sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt autoclean
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user