From: Francois Fleuret Date: Wed, 18 Feb 2009 16:56:57 +0000 (+0100) Subject: Automatic commit X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=5043c340d8249a2450ea7bf042d9cfe933ba3ec6;p=breezed.git Automatic commit --- diff --git a/breezed-pm-utils.sh b/breezed-pm-utils.sh index 3677c96..7da412b 100755 --- a/breezed-pm-utils.sh +++ b/breezed-pm-utils.sh @@ -2,7 +2,7 @@ # breezed is a fan speed control daemon for Linux computers. # -# Copyright (c) 2008 Francois Fleuret +# Copyright (c) 2009 Francois Fleuret # Written by Francois Fleuret # # This file is part of breezed. @@ -19,6 +19,8 @@ # You should have received a copy of the GNU General Public License # along with breezed. If not, see . +# This file should be copied into /usr/lib/pm-utils/sleep.d/50breezed + case "$1" in hibernate|suspend) diff --git a/install.sh b/install.sh index 93c90ef..deb201b 100755 --- a/install.sh +++ b/install.sh @@ -29,8 +29,7 @@ fi cp ./breezed /usr/local/bin/ cp ./breezed.sh /etc/init.d/ -cp ./breezed-resume.sh /etc/acpi/resume.d/99-breezed.sh -cp ./breezed-suspend.sh /etc/acpi/suspend.d/01-breezed.sh +cp ./breezed-pm-utils.sh /usr/lib/pm-utils/sleep.d/50breezed cp ./breezed.1 /usr/share/man/man1/ update-rc.d breezed.sh defaults diff --git a/remove.sh b/remove.sh index 91a5cdb..386fe0d 100755 --- a/remove.sh +++ b/remove.sh @@ -23,8 +23,10 @@ update-rc.d -f breezed.sh remove -rm /usr/share/man/man1/breezed.1 rm /usr/local/bin/breezed rm /etc/init.d/breezed.sh -rm /etc/acpi/resume.d/99-breezed.sh -rm /etc/acpi/suspend.d/01-breezed.sh +rm /usr/lib/pm-utils/sleep.d/50breezed +rm /usr/share/man/man1/breezed.1 + +# rm /etc/acpi/resume.d/99-breezed.sh +# rm /etc/acpi/suspend.d/01-breezed.sh