From 8746238d82420434c4acb8210e783bb0ea932737 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Wed, 12 May 2004 04:58:49 +0000 Subject: Fixed initscript to insert module as required. Bug #48837 by Rico Schiekel <_fire@web.de> describes the problem --- app-admin/powertweak/ChangeLog | 6 +++++- app-admin/powertweak/Manifest | 9 +++++---- app-admin/powertweak/files/powertweakd.rc6 | 15 ++++++++++++++- app-admin/powertweak/metadata.xml | 9 +++++++++ 4 files changed, 33 insertions(+), 6 deletions(-) create mode 100644 app-admin/powertweak/metadata.xml (limited to 'app-admin/powertweak') 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 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 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 @@ + + + + no-herd + + bug-wranglers@gentoo.org + This package lacks a primary herd or maintainer. + + -- cgit v1.2.3-65-gdbad