aboutsummaryrefslogblamecommitdiffstats
path: root/community/tlp/tlp.initd
blob: 05b4c3b97585738c4fe51b01af98d00cd3e26fd0 (plain) (tree)
1
2
3
4
5
6
7
8
9


                            
                                     




                       





                                         
#!/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; }