[arch-commits] CVS update of extra/system/laptop-mode-tools (PKGBUILD laptop-mode)

Aaron Griffin aaron at archlinux.org
Wed Oct 24 05:54:56 UTC 2007


    Date: Wednesday, October 24, 2007 @ 01:54:56
  Author: aaron
    Path: /home/cvs-extra/extra/system/laptop-mode-tools

Modified: PKGBUILD (1.10 -> 1.11) laptop-mode (1.2 -> 1.3)

upgpkg: laptop-mode-tools 1.34-3
FS#7055 - Clean up error output


-------------+
 PKGBUILD    |    6 +++---
 laptop-mode |    7 ++++---
 2 files changed, 7 insertions(+), 6 deletions(-)


Index: extra/system/laptop-mode-tools/PKGBUILD
diff -u extra/system/laptop-mode-tools/PKGBUILD:1.10 extra/system/laptop-mode-tools/PKGBUILD:1.11
--- extra/system/laptop-mode-tools/PKGBUILD:1.10	Thu Jul 12 13:34:29 2007
+++ extra/system/laptop-mode-tools/PKGBUILD	Wed Oct 24 01:54:56 2007
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD,v 1.10 2007/07/12 17:34:29 eric Exp $
+# $Id: PKGBUILD,v 1.11 2007/10/24 05:54:56 aaron Exp $
 # Maintainer : Aaron, phrakture, Griffin <aaron at archlinux.org>
 # Contributor: Christopher "nuopus" Cox <nuopus at gmail.com>
 
 pkgname=laptop-mode-tools
 pkgver=1.34
-pkgrel=2
+pkgrel=3
 pkgdesc="Laptop mode is a kernel mode that allows you to extend the battery life of your laptop"
 arch=(i686 x86_64)
 url="http://www.samwel.tk/laptop_mode/"
@@ -12,7 +12,7 @@
 license=('GPL')
 source=(http://www.samwel.tk/laptop_mode/tools/downloads/laptop-mode-tools_${pkgver}.tar.gz \
     laptop-mode)
-md5sums=('c6edc3b2abbc3770d6673f155a40473d' '1fe633621e9950207e4cf7074763e12d')
+md5sums=('c6edc3b2abbc3770d6673f155a40473d' '023c4935e30ae52669798f3543d57ef9')
 backup=(etc/laptop-mode/laptop-mode.conf)
 
 build()
Index: extra/system/laptop-mode-tools/laptop-mode
diff -u extra/system/laptop-mode-tools/laptop-mode:1.2 extra/system/laptop-mode-tools/laptop-mode:1.3
--- extra/system/laptop-mode-tools/laptop-mode:1.2	Wed Nov 22 02:21:17 2006
+++ extra/system/laptop-mode-tools/laptop-mode	Wed Oct 24 01:54:56 2007
@@ -10,7 +10,7 @@
   start)
     stat_busy "Starting laptop-mode"
     touch /var/run/laptop-mode-enabled
-    /usr/sbin/laptop_mode auto init 2>&1 >/dev/null
+    /usr/sbin/laptop_mode auto init >/dev/null 2>&1
     if [ $? -gt 0 ]; then
       stat_fail
     else
@@ -21,7 +21,7 @@
   stop)
     stat_busy "Stopping laptop-mode"
     rm -f /var/run/laptop-mode-enabled
-    /usr/sbin/laptop_mode stop init 2>&1 >/dev/null
+    /usr/sbin/laptop_mode stop init >/dev/null 2>&1
     if [ $? -gt 0 ]; then
       stat_fail
     else
@@ -31,7 +31,8 @@
     ;;
   restart)
     stat_busy "Restarting laptop-mode"
-    /usr/sbin/laptop_mode auto init force 2>&1 >/dev/null
+    touch /var/run/laptop-mode-enabled
+    /usr/sbin/laptop_mode auto init force >/dev/null 2>&1
     if [ $? -gt 0 ]; then
       stat_fail
     else




More information about the arch-commits mailing list