From 8b4c42ea22454f975cf7eb7d83039a63df909dcc Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Tue, 25 Aug 2020 16:35:58 +0100 Subject: Install auto-cpufreq and its service --- gohan.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gohan.sh') diff --git a/gohan.sh b/gohan.sh index 4285137..1eb733b 100644 --- a/gohan.sh +++ b/gohan.sh @@ -144,6 +144,11 @@ install_composer() { [ -f "/home/$name/.local/bin/composer" ] && chown "$name:$name" "/home/$name/.local/bin/composer" } +install_auto_cpufreq_service() { + systemctl start auto-cpufreq + systemctl enable auto-cpufreq +} + ### THE ACTUAL SCRIPT ### install_from_pacman dialog || error "Are you sure you're running this as the root user and have an internet connection?" @@ -170,4 +175,6 @@ install_nvm install_composer +install_auto_cpufreq_service + clear -- cgit v1.2.3-13-gbd6f