Debian Codegraph @

pm-hook.sh.template

raw
1 #!/bin/sh
2
3 razer_suspend()
4 {
5 true # Do nothing
6 }
7
8 razer_resume()
9 {
10 @CMAKE_INSTALL_PREFIX@/bin/razercfg -B -K
11 }
12
13 case $1 in
14 hibernate|suspend)
15 razer_suspend
16 ;;
17 resume|thaw)
18 razer_resume
19 ;;
20 esac