summaryrefslogtreecommitdiffstats
path: root/abs/not_built/extra/community/powernowd/powernowd.install
blob: af218afacd66d5adc16b75b7c8f55d01b6e36be3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
}