void-packages/srcpkgs/tlp/files/tlp.suspend

3 lines
68 B
Bash

#!/bin/sh
[ -s /var/service/tlp/supervise/pid ] && exec tlp suspend