From 5a7ebc8b419aded494ef76a1b9480a34d71a6c45 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Tue, 9 Mar 2010 22:05:02 +0000 Subject: powernowd: Forgot some important info in the install file. --- abs/extra-testing/community/powernowd/PKGBUILD | 4 ++-- abs/extra-testing/community/powernowd/powernowd.install | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/abs/extra-testing/community/powernowd/PKGBUILD b/abs/extra-testing/community/powernowd/PKGBUILD index b962ed2..f784523 100644 --- a/abs/extra-testing/community/powernowd/PKGBUILD +++ b/abs/extra-testing/community/powernowd/PKGBUILD @@ -2,7 +2,7 @@ pkgname=powernowd pkgver=1.00 -pkgrel=1 +pkgrel=2 pkgdesc="Program for powering down CPUs dynamicly" arch=('i686' 'x86_64') url="http://www.deater.net/john/powernowd.html" @@ -24,5 +24,5 @@ build() { md5sums=('abc48b690d104e9e71a85400ba19d799' 'ffd9b939665f74dac2220b4311482e04' '13c6591ffc27d0b16f41f7892671302f' - 'a06f059bb2ad47b661f26a1ca1e7e0c3' + 'dcbf8e98425b208c29f4c06b687dd0d0' 'c9385af22c7c74e6cd6bdc982f94644f') diff --git a/abs/extra-testing/community/powernowd/powernowd.install b/abs/extra-testing/community/powernowd/powernowd.install index 3120e35..af218af 100644 --- a/abs/extra-testing/community/powernowd/powernowd.install +++ b/abs/extra-testing/community/powernowd/powernowd.install @@ -1,5 +1,17 @@ post_install() { add_service.sh powernowd + + echo "Be sure to modprobe the proper module for your CPU and then add it + echo "to /etc/rc.conf in the MODULES section." + echo "i.e. for a Core2Duo modprobe/add acpi_cpufreq" + echo "Then restart the powernowd service: sudo sv restart powernowd" +} + +post_upgrade() { + echo "Be sure to modprobe the proper module for your CPU and then add it + echo "to /etc/rc.conf in the MODULES section." + echo "i.e. for a Core2Duo modprobe/add acpi_cpufreq" + echo "Then restart the powernowd service: sudo sv restart powernowd" } pre_remove() { -- cgit v0.12