From: Francois Fleuret Date: Wed, 18 Feb 2009 16:55:58 +0000 (+0100) Subject: *** empty log message *** X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=breezed.git;a=commitdiff_plain;h=347397f60fbaae1c9f41e09cf9948ce2a241b913 *** empty log message *** --- diff --git a/breezed-suspend.sh b/breezed-suspend.sh new file mode 100755 index 0000000..33558f8 --- /dev/null +++ b/breezed-suspend.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +# breezed is a fan speed control daemon for Linux computers. +# +# Copyright (c) 2008 Francois Fleuret +# Written by Francois Fleuret +# +# 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 . + +# 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