summaryrefslogtreecommitdiffstats
path: root/abs/not_built/extra/community/powernowd/powernowd.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/not_built/extra/community/powernowd/powernowd.install')
-rw-r--r--abs/not_built/extra/community/powernowd/powernowd.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/abs/not_built/extra/community/powernowd/powernowd.install b/abs/not_built/extra/community/powernowd/powernowd.install
new file mode 100644
index 0000000..af218af
--- /dev/null
+++ b/abs/not_built/extra/community/powernowd/powernowd.install
@@ -0,0 +1,19 @@
+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() {
+ remove_service.sh powernowd
+}