aboutsummaryrefslogtreecommitdiff
path: root/system/displaylink/99displaylink
blob: 80f472c2ebebcb0e350905b71c0a9f9866f27a84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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