Add TLP to Ubuntu
This commit is contained in:
parent
84cbef87d0
commit
273872e97c
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ set -v
|
||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt -y upgrade
|
sudo apt -y upgrade
|
||||||
sudo apt -y --fix-missing install apt-file aptitude aria2 atop cmake curl git glances gnupg2 keepass2 mercurial pv python-dev python-pip python3-pip ruby-dev tmux vim whois zsh dirmngr syncthing net-tools coreutils xclip wget scdaemon flatpak gnome-software-plugin-flatpak ufw
|
sudo apt -y --fix-missing install apt-file aptitude aria2 atop cmake curl git glances gnupg2 keepass2 mercurial pv python-dev python-pip python3-pip ruby-dev tmux vim whois zsh dirmngr syncthing net-tools coreutils xclip wget scdaemon flatpak gnome-software-plugin-flatpak ufw tlp
|
||||||
|
|
||||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
|
|
||||||
|
@ -22,8 +22,8 @@ sudo groupadd docker | true
|
||||||
sudo usermod -aG docker $USER
|
sudo usermod -aG docker $USER
|
||||||
|
|
||||||
if [[ -z $NO_SYSTEMCTL ]]; then
|
if [[ -z $NO_SYSTEMCTL ]]; then
|
||||||
sudo systemctl enable docker
|
sudo systemctl enable --now tlp
|
||||||
sudo systemctl restart docker
|
sudo systemctl enable --now docker
|
||||||
sudo systemctl enable --now syncthing@$USER.service
|
sudo systemctl enable --now syncthing@$USER.service
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue