From 2da3606262095b637a9773df2930b25c95a6aca5 Mon Sep 17 00:00:00 2001 From: Aaditya Bagga Date: Sun, 7 Apr 2019 22:44:43 +0530 Subject: system/TLP: updated for version 1.2.1. --- system/TLP/49tlp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 system/TLP/49tlp (limited to 'system/TLP/49tlp') 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 +# 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 -- cgit v1.2.3