Add TLP to Ubuntu

This commit is contained in:
Cyryl Płotnicki 2019-06-11 10:51:44 +01:00
parent 84cbef87d0
commit 273872e97c

View file

@ -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