14 lines
330 B
Bash
Executable File
14 lines
330 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Installing undervolt packages"
|
|
sudo dnf install -y python-pip
|
|
sudo pip install undervolt
|
|
|
|
|
|
echo "Applying undervolt"
|
|
sudo cp _undervolt /etc/systemd/system/undervolt.service
|
|
sudo cp _undervolt_timer /etc/systemd/system/undervolt.timer
|
|
|
|
sudo systemctl enable undervolt.timer
|
|
sudo systemctl start undervolt.timer
|