summaryrefslogtreecommitdiffstats
path: root/powertop.trisquel6
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-11-28 00:47:24 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-11-28 00:47:24 (EST)
commit937bf4b07d75918d133f13429f17dab8f51759b1 (patch)
tree0a6b3db9b2fb5a903a4ebe8c865824171a558475 /powertop.trisquel6
parente01ec6ef23359922e64a14d8b25e33562b6709ab (diff)
downloadlibreboot-937bf4b07d75918d133f13429f17dab8f51759b1.zip
libreboot-937bf4b07d75918d133f13429f17dab8f51759b1.tar.gz
libreboot-937bf4b07d75918d133f13429f17dab8f51759b1.tar.bz2
powertop.trisquel6: remove useless comment and fix path
Diffstat (limited to 'powertop.trisquel6')
-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."