diff options
author | Aaditya Bagga | 2019-04-07 19:14:43 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2019-04-13 01:30:33 +0200 |
commit | 2da3606262095b637a9773df2930b25c95a6aca5 (patch) | |
tree | b14024e4f497985d8d979fae4ffed5b995ba2599 /system/TLP/49tlp | |
parent | 9603c05d179a46358b3734a2e9d61f831d613a57 (diff) | |
download | slackbuilds-2da3606262095b637a9773df2930b25c95a6aca5.tar.gz |
system/TLP: updated for version 1.2.1.
Diffstat (limited to 'system/TLP/49tlp')
-rw-r--r-- | system/TLP/49tlp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/system/TLP/49tlp b/system/TLP/49tlp new file mode 100644 index 0000000000..bfe0e81af1 --- /dev/null +++ b/system/TLP/49tlp @@ -0,0 +1,22 @@ +#!/bin/sh +# tlp - handle suspend/hibernate/resume tasks +# +# Copyright (c) 2018 Thomas Koch <linrunner at gmx.net> +# This software is licensed under the GPL v2 or later. + +. "${PM_FUNCTIONS}" + +case $1 in + hibernate|suspend) + tlp suspend + ;; + + thaw|resume) + tlp resume + ;; + + *) exit $NA + ;; +esac + +exit 0 |