blob: 27b60dfeab13ba22189f1b24d89cbef988d8ce05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/sbin/openrc-run
command=/usr/sbin/tlp
name="TLP"
extra_started_commands="reload stat"
depend() {
need udev
}
start() {
ebegin "Starting tlp..."
$command init start
eend $?
}
reload() {
ebegin "Reloading tlp's configuration..."
$command start
eend $?
}
stop() {
einfo "Reboot to stop tlp."
}
stat() {
/usr/bin/tlp-stat
}
|