summaryrefslogtreecommitdiffstats
path: root/pm-hook.sh.template
blob: 71c8006f3ee015801a2311f509d55f9187945a00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

razer_suspend()
{
	true # Do nothing
}

razer_resume()
{
	$$INSTDIR$$/bin/razercfg -B -K
}

case $1 in
	hibernate|suspend)
		razer_suspend
		;;
	resume|thaw)
		razer_resume
		;;
esac
bues.ch cgit interface