summarylogtreecommitdiffstats
path: root/rts5227-dkms-suspend.sh
blob: f45a751f82dd9b4679865bc3535f1a6d9b04e426 (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