diff options
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 0000000000..80f472c2eb --- /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 |