From 7d21e277310494885b1ba6d46a2e3f1a93c5bb69 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Wed, 18 Feb 2009 17:52:54 +0100 Subject: [PATCH] *** empty log message *** --- breezed-pm-utils.sh | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 breezed-pm-utils.sh 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 -- 2.20.1