--- /dev/null
+#!/bin/sh
+
+# breezed is a fan speed control daemon for Linux computers.
+#
+# Copyright (c) 2008 Francois Fleuret
+# Written by Francois Fleuret <francois@fleuret.org>
+#
+# This file is part of breezed.
+#
+# breezed is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License version 3 as
+# published by the Free Software Foundation.
+#
+# breezed is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with breezed. If not, see <http://www.gnu.org/licenses/>.
+
+case "$1" in
+
+ hibernate|suspend)
+ /etc/init.d/breezed.sh stop
+ ;;
+
+ thaw|resume)
+ /etc/init.d/breezed.sh start
+ ;;
+
+ *) exit $NA
+ ;;
+esac