xmrig-bash-scripts/maintenance.sh
Sean Wheller f3bbf6cedd fix
2019-08-12 20:08:42 +02:00

13 lines
238 B
Bash
Executable File

#!/bin/bash
echo "${_GREEN}MAINTENANCE STARTED${_RESET}"
if [ "$_APT_MAINETANCE" -eq "1" ]; then
sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt autoclean
fi
echo "${_CYAN}MAINTENANCE STOPPED${_RESET}"