Automatic commit
authorFrancois Fleuret <francois@fleuret.org>
Wed, 18 Feb 2009 16:56:57 +0000 (17:56 +0100)
committerFrancois Fleuret <francois@fleuret.org>
Wed, 18 Feb 2009 16:56:57 +0000 (17:56 +0100)
breezed-pm-utils.sh
install.sh
remove.sh

index 3677c96..7da412b 100755 (executable)
@@ -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 <francois@fleuret.org>
 #
 #  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 <http://www.gnu.org/licenses/>.
 
+#  This file should be copied into /usr/lib/pm-utils/sleep.d/50breezed
+
 case "$1" in
 
     hibernate|suspend)
index 93c90ef..deb201b 100755 (executable)
@@ -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
index 91a5cdb..386fe0d 100755 (executable)
--- a/remove.sh
+++ b/remove.sh
 
 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