--- /dev/null
+#!/bin/bash
+
+# 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/>.
+
+# This file should be copied to /etc/acpi/resume.d/99-breezed.sh
+
+# Resuming messes up the /proc/acpi/* by removing / reloading modules,
+# so we have to restart the daemon. Maybe I missed something though.
+
+/etc/init.d/breezed.sh stop