PKGBUILDs/community/linux-tools/cpupower.rc

18 lines
293 B
Text
Raw Normal View History

2012-07-23 23:25:09 +00:00
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
2012-08-07 16:11:48 +00:00
. /etc/conf.d/${0##*/}
2012-07-23 23:25:09 +00:00
case "$1" in
start|restart)
2012-08-07 16:11:48 +00:00
status 'Setting cpupower rules' /usr/lib/systemd/scripts/cpupower || exit 1
2012-07-23 23:25:09 +00:00
;;
*)
2012-08-07 16:11:48 +00:00
echo "usage: ${0##*/} {start|restart}" >&2
exit 1
;;
2012-07-23 23:25:09 +00:00
esac
# vim:set ts=2 sw=2 ft=sh et: