diff options
author | Daniel Black <dragonheart@gentoo.org> | 2004-05-12 04:58:49 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2004-05-12 04:58:49 +0000 |
commit | 8746238d82420434c4acb8210e783bb0ea932737 (patch) | |
tree | 98a3b6bf698db5e6b1f33a10011430a477acab03 /app-admin/powertweak | |
parent | ver bump (diff) | |
download | historical-8746238d82420434c4acb8210e783bb0ea932737.tar.gz historical-8746238d82420434c4acb8210e783bb0ea932737.tar.bz2 historical-8746238d82420434c4acb8210e783bb0ea932737.zip |
Fixed initscript to insert module as required. Bug #48837 by Rico Schiekel <_fire@web.de> describes the problem
Diffstat (limited to 'app-admin/powertweak')
-rw-r--r-- | app-admin/powertweak/ChangeLog | 6 | ||||
-rw-r--r-- | app-admin/powertweak/Manifest | 9 | ||||
-rw-r--r-- | app-admin/powertweak/files/powertweakd.rc6 | 15 | ||||
-rw-r--r-- | app-admin/powertweak/metadata.xml | 9 |
4 files changed, 33 insertions, 6 deletions
diff --git a/app-admin/powertweak/ChangeLog b/app-admin/powertweak/ChangeLog index 24180ac3de92..bdb2a47a3ff6 100644 --- a/app-admin/powertweak/ChangeLog +++ b/app-admin/powertweak/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-admin/powertweak # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/ChangeLog,v 1.15 2004/04/26 15:21:23 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/ChangeLog,v 1.16 2004/05/12 04:58:49 dragonheart Exp $ + + 12 May 2004; Daniel Black <dragonheart@gentoo.org> files/powertweakd.rc6: + Fixed initscript to insert module as required. Bug #48837 by Rico Schiekel + <_fire@web.de> describes the problem 26 Apr 2004; Aron Griffis <agriffis@gentoo.org> powertweak-0.99.4.ebuild: Add die following econf for bug 48950 diff --git a/app-admin/powertweak/Manifest b/app-admin/powertweak/Manifest index 09acb37c6325..299c65aa3144 100644 --- a/app-admin/powertweak/Manifest +++ b/app-admin/powertweak/Manifest @@ -1,9 +1,10 @@ +MD5 751022e8347a15a2a0a4488e0b8688c2 ChangeLog 2498 MD5 bbd02540c29498afdb98198a7243a55e powertweak-0.99.4.ebuild 1539 -MD5 16c7ee0ba9f101f244d167ef44c335c1 powertweak-0.99.5-r1.ebuild 1215 MD5 a5792ab3bf86f74070e8c2e81d65dfe1 powertweak-0.99.5.ebuild 1038 -MD5 0911261deedb7f27410320c1373e91bc ChangeLog 2302 -MD5 1905168a8b57ae19ab4a2dfe41fddbb4 files/powertweak-0.99.4-gentoo.diff 2417 +MD5 1652522405f5936eb29776ef8d5ffa5b metadata.xml 310 +MD5 16c7ee0ba9f101f244d167ef44c335c1 powertweak-0.99.5-r1.ebuild 1215 MD5 186537e6997431efc00728e2c4a24229 files/digest-powertweak-0.99.4 70 MD5 1309a0411e6185c8d9ae7590d318c618 files/digest-powertweak-0.99.5 70 +MD5 1905168a8b57ae19ab4a2dfe41fddbb4 files/powertweak-0.99.4-gentoo.diff 2417 +MD5 9b0bad20144a55ebcf36346774c2db71 files/powertweakd.rc6 798 MD5 0dd7674a9a70087adb391022f562b05d files/digest-powertweak-0.99.5-r1 153 -MD5 7d64d3d0e3f32da484d75f6089a42fa3 files/powertweakd.rc6 557 diff --git a/app-admin/powertweak/files/powertweakd.rc6 b/app-admin/powertweak/files/powertweakd.rc6 index 1f0d91c69c82..1413782ee8ba 100644 --- a/app-admin/powertweak/files/powertweakd.rc6 +++ b/app-admin/powertweak/files/powertweakd.rc6 @@ -1,10 +1,23 @@ #!/sbin/runscript # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/files/powertweakd.rc6,v 1.4 2003/08/16 06:33:09 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/powertweak/files/powertweakd.rc6,v 1.5 2004/05/12 04:58:49 dragonheart Exp $ start() { ebegin "Starting powertweakd" + if [ -f /proc/modules ] + then + if [ -z "`grep '^cpufreq_userspace ' /proc/modules`" ] + then + modprobe cpufreq_userspace + if [ $? -ne 0 ] + then + eerror "Could not insert module - cpufreq_userspace" + eend 1 + fi + fi + fi + start-stop-daemon --start --quiet --exec /usr/sbin/powertweakd -- -p /var/run/powertweakd.pid eend $? } diff --git a/app-admin/powertweak/metadata.xml b/app-admin/powertweak/metadata.xml new file mode 100644 index 000000000000..d8b96be3c5cd --- /dev/null +++ b/app-admin/powertweak/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>bug-wranglers@gentoo.org</email> + <description>This package lacks a primary herd or maintainer.</description> + </maintainer> +</pkgmetadata> |