aports/community/tlp/tlp.initd

16 lines
312 B
Plaintext
Executable File

#!/sbin/openrc-run
description="Initialize tlp"
extra_started_commands="force_reload"
depend() {
need localmount
}
status() { tlp-stat -s; }
# TODO: keep the following in one line
start() { tlp init start; }
stop() { tlp init stop; }
restart() { tlp init restart; }
force_reload() { tlp init force-reload; }