mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-22 09:31:34 -05:00
tuned not installed by default
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
dfe149a763
commit
2e1b763290
@ -103,6 +103,7 @@ sudo systemctl enable fstrim.timer
|
|||||||
|
|
||||||
# Installing tuned first here because virt-what is 1 of its dependencies anyways
|
# Installing tuned first here because virt-what is 1 of its dependencies anyways
|
||||||
sudo dnf install tuned -y
|
sudo dnf install tuned -y
|
||||||
|
sudo systemctl enable --now tuned
|
||||||
|
|
||||||
virt_type=$(virt-what)
|
virt_type=$(virt-what)
|
||||||
if [ "$virt_type" = '' ]; then
|
if [ "$virt_type" = '' ]; then
|
||||||
|
@ -218,6 +218,7 @@ sudo systemctl enable fstrim.timer
|
|||||||
|
|
||||||
# Installing tuned first here because virt-what is 1 of its dependencies anyways
|
# Installing tuned first here because virt-what is 1 of its dependencies anyways
|
||||||
sudo dnf install tuned -y
|
sudo dnf install tuned -y
|
||||||
|
sudo systemctl enable --now tuned
|
||||||
|
|
||||||
virt_type=$(virt-what)
|
virt_type=$(virt-what)
|
||||||
if [ "$virt_type" = '' ]; then
|
if [ "$virt_type" = '' ]; then
|
||||||
@ -235,6 +236,7 @@ fi
|
|||||||
# Setup tuned
|
# Setup tuned
|
||||||
if [ "$virt_type" = '' ]; then
|
if [ "$virt_type" = '' ]; then
|
||||||
# Don't know whether using tuned would be a good idea on a laptop, power-profiles-daemon should be handling performance tuning IMO.
|
# Don't know whether using tuned would be a good idea on a laptop, power-profiles-daemon should be handling performance tuning IMO.
|
||||||
|
sudo systemctl disable --now tuned
|
||||||
sudo dnf remove tuned -y
|
sudo dnf remove tuned -y
|
||||||
else
|
else
|
||||||
if [ "$virt_type" = 'kvm' ]; then
|
if [ "$virt_type" = 'kvm' ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user