From 273872e97c1953bd52d67ee04b27f4e1153a6463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Tue, 11 Jun 2019 10:51:44 +0100 Subject: [PATCH] Add TLP to Ubuntu --- ubuntu/up.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ubuntu/up.sh b/ubuntu/up.sh index 1dce5014..57dbdb53 100755 --- a/ubuntu/up.sh +++ b/ubuntu/up.sh @@ -5,7 +5,7 @@ set -v sudo apt update 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 @@ -22,8 +22,8 @@ sudo groupadd docker | true sudo usermod -aG docker $USER if [[ -z $NO_SYSTEMCTL ]]; then - sudo systemctl enable docker - sudo systemctl restart docker + sudo systemctl enable --now tlp + sudo systemctl enable --now docker sudo systemctl enable --now syncthing@$USER.service fi