diff options
author | Yixun Lan <dlan@gentoo.org> | 2014-07-17 22:16:13 +0000 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2014-07-17 22:16:13 +0000 |
commit | 6cca266059431e4341c202c5d64ee43b27aa53e5 (patch) | |
tree | c2e17652458c009c0d12bf1066684819a1fdf262 /sys-power/thermald/files | |
parent | bug 475992, initial version imported by me. thanks Maksim 'max_posedon' Melni... (diff) | |
download | historical-6cca266059431e4341c202c5d64ee43b27aa53e5.tar.gz historical-6cca266059431e4341c202c5d64ee43b27aa53e5.tar.bz2 historical-6cca266059431e4341c202c5d64ee43b27aa53e5.zip |
bug 475992, initial version imported by me. thanks Maksim 'max_posedon' Melnikau, and cono
Package-Manager: portage-2.2.8/cvs/Linux x86_64
Manifest-Sign-Key: 0xAABEFD55
Diffstat (limited to 'sys-power/thermald/files')
-rw-r--r-- | sys-power/thermald/files/thermald | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sys-power/thermald/files/thermald b/sys-power/thermald/files/thermald new file mode 100644 index 000000000000..73643a27a686 --- /dev/null +++ b/sys-power/thermald/files/thermald @@ -0,0 +1,19 @@ +#!/sbin/runscript + +depend() { + need dbus + after logger +} + +start() { + ebegin "Starting thermald" + + start-stop-daemon --start --quiet --name thermald --exec /usr/sbin/thermald -- --dbus-enable + eend $? +} + +stop() { + ebegin "Stopping thermald" + /usr/bin/dbus-send --system --dest=org.freedesktop.thermald /org/freedesktop/thermald org.freedesktop.thermald.Terminate + eend $? +} |