diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-02-14 07:46:05 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-02-14 07:46:05 +0000 |
commit | f0c9d224eac07609457dfeba20407ca583d061eb (patch) | |
tree | f78e2f002ea5495b4a3ced72c51f615b781a8563 | |
parent | 6208ec9870659be04be64da33d020e4470a77ce7 (diff) | |
download | librebootfr-f0c9d224eac07609457dfeba20407ca583d061eb.tar.gz librebootfr-f0c9d224eac07609457dfeba20407ca583d061eb.zip |
Moved powertop.trisquel7 to resources/scripts/misc/
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | docs/misc/index.html | 2 | ||||
-rwxr-xr-x | powertop.trisquel7.init | 21 | ||||
-rwxr-xr-x | resources/scripts/misc/powertop.trisquel7 (renamed from powertop.trisquel7) | 3 |
4 files changed, 4 insertions, 23 deletions
@@ -6,6 +6,7 @@ /memtest86+-5.01/ /bin/ /powertop/ +/resources/scripts/misc/powertop/ /libreboot_src.tar.xz /libreboot_util.tar.xz /libreboot_macbook21.tar.xz diff --git a/docs/misc/index.html b/docs/misc/index.html index 3bda2e71..ccf7ee30 100644 --- a/docs/misc/index.html +++ b/docs/misc/index.html @@ -41,7 +41,7 @@ <p>Included with libreboot is a script called 'powertop.trisquel7'. Run this as root and it will setup powertop to run with --auto-tune at boot time. Load the file in your text editor to see how it does that.</p> - <p>$ <b>sudo ./powertop.trisquel7</b></p> + <p>$ <b>sudo ./resources/scripts/misc/powertop.trisquel7</b></p> </div> <p><a href="#pagetop">Back to top of page</a></p> diff --git a/powertop.trisquel7.init b/powertop.trisquel7.init deleted file mode 100755 index 22df3f88..00000000 --- a/powertop.trisquel7.init +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -# powertop.trisquel6.init: the powertop.trisquel6 setup script puts this script in /etc/init.d in Trisquel 6 -# -# Copyright (C) 2014 Francis Rowe <info@gluglug.org.uk> -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -/usr/sbin/powertop --auto-tune diff --git a/powertop.trisquel7 b/resources/scripts/misc/powertop.trisquel7 index 342d4f60..c8478f20 100755 --- a/powertop.trisquel7 +++ b/resources/scripts/misc/powertop.trisquel7 @@ -35,7 +35,8 @@ update-rc.d powertop remove rm -rf /etc/init.d/powertop # write the correct commands there: -cp powertop.trisquel7.init /etc/init.d/powertop +echo "#!/bin/sh" > /etc/init.d/powertop +echo "/usr/sbin/powertop --auto-tune" >> /etc/init.d/powertop # make it executable: chmod +x /etc/init.d/powertop |