mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
16 lines
312 B
Plaintext
Executable File
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; }
|