summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpowertop.trisquel67
1 files changed, 1 insertions, 6 deletions
diff --git a/powertop.trisquel6 b/powertop.trisquel6
index 09a569b..6388385 100755
--- a/powertop.trisquel6
+++ b/powertop.trisquel6
@@ -26,13 +26,10 @@ if [[ $EUID -ne 0 ]]; then
fi
# For Trisquel 6.0 (and 6.0.1) users.
-# This may also work on other apt distros.
# powertop on Trisquel 6 is out of date. We will get it from git.
# We are using a specific git revision (one that I have tested)
-# RUN THIS AS ROOT
-
# Delete the one that is already installed from repo's (if it is installed)
apt-get -y purge powertop
@@ -45,7 +42,7 @@ rm -rf powertop
# Download from git
git clone https://github.com/fenrus75/powertop.git
-cd ./powertop
+cd powertop/
# Revert to specific commit (from when powertop was last tested):
git reset --hard e70c89eb5d7b6b8f898bb126adefcbf3202d5acf
@@ -72,8 +69,6 @@ chmod +x /etc/init.d/powertop
# Add the service to make it run automatically at boot time:
update-rc.d powertop defaults
-# Done.
-
# Run powertop now and tell the user
powertop --auto-tune
echo "Done. Run 'powertop --auto-tune' now. This will also run automatically at boot time. Run it again at any time, if needed. This has also been done for you just now."