From: Francois Fleuret Date: Wed, 18 Feb 2009 16:52:54 +0000 (+0100) Subject: *** empty log message *** X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=7d21e277310494885b1ba6d46a2e3f1a93c5bb69;p=breezed.git *** empty log message *** --- diff --git a/breezed-pm-utils.sh b/breezed-pm-utils.sh new file mode 100755 index 0000000..3677c96 --- /dev/null +++ b/breezed-pm-utils.sh @@ -0,0 +1,34 @@ +#!/bin/sh + +# 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 . + +case "$1" in + + hibernate|suspend) + /etc/init.d/breezed.sh stop + ;; + + thaw|resume) + /etc/init.d/breezed.sh start + ;; + + *) exit $NA + ;; +esac