cpufreqd bekommt .conf endung und anpassungen an neue upstart version

git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_cpufreqd@5519 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2010-04-20 14:10:34 +00:00
parent 6baa8e9522
commit bf5ea33c27
2 changed files with 12 additions and 12 deletions

View File

@ -1,12 +0,0 @@
# rc - runlevel compatibility
#
# This task guesses what the "default runlevel" should be and starts the
# appropriate script.
start on started mountfs
stop on stopping mountfs
console logged
exec /usr/sbin/cpufreqd -D
respawn

12
etc/init/cpufreqd.conf Normal file
View File

@ -0,0 +1,12 @@
description "Startup the cpufreq daemon for Powermanagement"
author "Harald Kueller <harald.kueller@compuextreme.de>"
version 1.0
emits none special
start on (runlevel [12345] and (started mountfs))
stop on (runlevel [S06] and (stopping udev))
console none
exec /usr/sbin/cpufreqd -D
respawn