Merge pull request #15 from 0xLennyy/fix/cpulimit
Thank you @0xLennyy check cpulimit command
This commit is contained in:
commit
a5e8832d8d
@ -33,6 +33,15 @@ else
|
||||
echo "git is installed"
|
||||
fi
|
||||
|
||||
if ! command -v cpulimit &> /dev/null
|
||||
then
|
||||
echo "cpulimit could not be found"
|
||||
echo "Installing cpulimit..."
|
||||
su -c "apt update && apt install cpulimit -y"
|
||||
else
|
||||
echo "cpulimit is installed"
|
||||
fi
|
||||
|
||||
sudo apt upgrade -y
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user