#!/bin/bash case $1 in hibernate|suspend) ;; resume|thaw) # Need to re-init the crystalhd after a resume if grep -q ^crystalhd /proc/modules ; then modprobe -r crystalhd modprobe crystalhd fi ;; *) ;; esac exit 0