summarylogtreecommitdiffstats
path: root/rts5227-dkms-suspend.sh
blob: 454454adf49613f3b7de04f9cb72566c1a701c2d (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# unload rts5227 before suspend, reload afterwards

case $1 in
	pre)
		rmmod rts5227
		;;
	post)
		modprobe rts5227
		;;
esac