[arch-commits] Commit in laptop-mode-tools/trunk (PKGBUILD)
Eric Bélanger
eric at archlinux.org
Fri Jul 29 18:57:43 UTC 2011
Date: Friday, July 29, 2011 @ 14:57:42
Author: eric
Revision: 133581
upgpkg: laptop-mode-tools 1.58-2
Add nmi-watchdog.conf to backup arrary, Fix return 0 in laptop_mode script
Modified:
laptop-mode-tools/trunk/PKGBUILD
----------+
PKGBUILD | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-07-29 18:40:28 UTC (rev 133580)
+++ PKGBUILD 2011-07-29 18:57:42 UTC (rev 133581)
@@ -4,7 +4,7 @@
pkgname=laptop-mode-tools
pkgver=1.58
-pkgrel=1
+pkgrel=2
pkgdesc="A kernel mode that allows you to extend the battery life of your laptop"
arch=('any')
url="http://www.samwel.tk/laptop_mode/"
@@ -27,6 +27,7 @@
etc/laptop-mode/conf.d/intel-hda-powersave.conf
etc/laptop-mode/conf.d/intel-sata-powermgmt.conf
etc/laptop-mode/conf.d/lcd-brightness.conf
+ etc/laptop-mode/conf.d/nmi-watchdog.conf
etc/laptop-mode/conf.d/runtime-pm.conf
etc/laptop-mode/conf.d/sched-mc-power-savings.conf
etc/laptop-mode/conf.d/sched-smt-power-savings.conf
@@ -49,4 +50,5 @@
sed -i 's|etc/udev|lib/udev|' install.sh
make DESTDIR="${pkgdir}" INIT_D=none MAN_D=/usr/share/man install
install -D -m755 "${srcdir}/laptop-mode" "${pkgdir}/etc/rc.d/laptop-mode"
+ sed -i 's/return 0;/exit 0/' "${pkgdir}/usr/sbin/laptop_mode"
}
More information about the arch-commits
mailing list