summaryrefslogtreecommitdiff
path: root/libre/linux-libre-tools/cpupower.rc
blob: 2c4441c4e097eb3b3f6ccf4430c37892b026b676 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

. /etc/rc.conf
. /etc/rc.d/functions
. /etc/conf.d/${0##*/}

case "$1" in
  start|restart)
    status 'Setting cpupower rules' /usr/lib/systemd/scripts/cpupower || exit 1
  ;;
  *)
    echo "usage: ${0##*/} {start|restart}" >&2
    exit 1
  ;;
esac

# vim:set ts=2 sw=2 ft=sh et: