summaryrefslogtreecommitdiff
blob: 4804b7832e9271e4aa5d5cdc34b5f490dfc44f89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

command="/usr/bin/sensors"

depend() {
	need localmount
	after modules-load
}

start() {
	ebegin "Initializing sensors"
	${command} --set >/dev/null 2>&1
	eend $?
}

stop() {
	# Nothing to stop
	return 0;
}