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