slackbuilds_ponce/system/displaylink/99displaylink
Andre Barboza 5a41962c79 system/displaylink: Added (driver for DisplayLink devices).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2017-09-15 19:37:57 +07:00

17 lines
272 B
Bash

#!/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