diff options
author | Andre Barboza <bmg.andre@gmail.com> | 2017-09-15 19:35:51 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-09-15 19:37:57 +0700 |
commit | 5a41962c792ee521928d3be2e0b985f8e1a42125 (patch) | |
tree | 1d58c748d3da74f512df99392910231f46aeef04 /system/displaylink/99displaylink | |
parent | b819c52d4da97ec188e923e87701bd904f7b930a (diff) |
system/displaylink: Added (driver for DisplayLink devices).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/displaylink/99displaylink')
-rw-r--r-- | system/displaylink/99displaylink | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/system/displaylink/99displaylink b/system/displaylink/99displaylink new file mode 100644 index 0000000000000..80f472c2ebebc --- /dev/null +++ b/system/displaylink/99displaylink @@ -0,0 +1,17 @@ +#!/bin/sh + +. "${PM_FUNCTIONS}" +. .@INSTALL_PATH@displaylink-sleep.sh + +command_exists suspend_dlm || exit $NA +command_exists resume_dlm || exit $NA + +case $1 in + hibernate|suspend) + suspend_dlm + ;; + thaw|resume) + resume_dlm + ;; +esac +exit 0 |