Skip to content

Instantly share code, notes, and snippets.

@CvH
Created April 21, 2016 07:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CvH/6a94895c1f83573b2e0152d35daec326 to your computer and use it in GitHub Desktop.
Save CvH/6a94895c1f83573b2e0152d35daec326 to your computer and use it in GitHub Desktop.
case "$1" in
hibernate|suspend)
/etc/init.d/tvheadend stop
modprobe -r smipcie
modprobe -r m88ds3103
modprobe -r dvb_core
modprobe -r m88rs6000t
;;
resume|thaw)
sleep 3
modprobe smipcie
modprobe m88ds3103
modprobe dvb_core
modprobe m88rs6000t
/etc/init.d/tvheadend start
;;
*)
;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment