summarylogtreecommitdiffstats
path: root/cpufreqd
diff options
context:
space:
mode:
Diffstat (limited to 'cpufreqd')
-rw-r--r--cpufreqd35
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