diff options
author | pspiridonov | 2019-12-13 22:26:46 +0300 |
---|---|---|
committer | pspiridonov | 2019-12-13 22:26:46 +0300 |
commit | c7d2daa4a1ca3004f104cdbf880f9157ae94cba8 (patch) | |
tree | ed57630dcf1edd03b9ab068f5a1b98165c2872e9 /cpufreqd | |
parent | 39c5eb3ecacdb3de037e72f54f1e9dfb2193c6da (diff) | |
download | aur-cpufreqd.tar.gz |
update
Diffstat (limited to 'cpufreqd')
-rw-r--r-- | cpufreqd | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/cpufreqd b/cpufreqd deleted file mode 100644 index d2f2a89bf6e6..000000000000 --- a/cpufreqd +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/bin/cpufreqd` -case "$1" in - start) - stat_busy "Starting cpufreqd" - [ -z "$PID" ] && /usr/bin/cpufreqd - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon cpufreqd - stat_done - fi - ;; - stop) - stat_busy "Stopping cpufreqd" - [ ! -z "$PID" ] && kill $PID &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon cpufreqd - stat_done - fi - ;; - restart) - $0 stop - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 |