#!/bin/sh # Ensure sensors -s is re-run after resume # # Copyright: Copyright (c) 2010 Seth Arnold # License: GPL-2 # PATH=/sbin:/usr/sbin:/bin:/usr/bin if [ ! -x /usr/bin/sensors ]; then exit 0 fi case "${1}" in hibernate) # nothing ;; resume|thaw) /usr/bin/sensors -s ;; esac