laptop-mode-tools rebuild for hdparm

This commit is contained in:
abveritas 2011-07-17 21:27:36 +00:00
parent 98b3f5562a
commit e778329ee0
2 changed files with 3 additions and 6 deletions

View File

@ -6,7 +6,7 @@
pkgname=laptop-mode-tools
pkgver=1.57
pkgrel=1
pkgrel=2
pkgdesc="Laptop mode is a kernel mode that allows you to extend the battery life of your laptop"
arch=('any')
url="http://www.samwel.tk/laptop_mode/"
@ -39,7 +39,7 @@ backup=(etc/laptop-mode/conf.d/ac97-powersave.conf
etc/laptop-mode/laptop-mode.conf
etc/laptop-mode/lm-profiler.conf)
source=(http://www.samwel.tk/laptop_mode/tools/downloads/${pkgname}_${pkgver}.tar.gz laptop-mode)
md5sums=('1d9e4f4e3ff3f16d298e1653483f3f58' 'fe47441f14e2b39c2fe473685f04395f')
md5sums=('1d9e4f4e3ff3f16d298e1653483f3f58' 'bae8d721e660fe420c9769a6db6856af')
package() {
cd "${srcdir}/${pkgname}_${pkgver}"

View File

@ -5,9 +5,6 @@
case "$1" in
start)
if [ -x /etc/rc.d/acpid ]; then
ck_daemon acpid && /etc/rc.d/acpid start
fi
stat_busy "Starting laptop-mode"
[ ! -d /var/run/laptop-mode-tools ] && install -d /var/run/laptop-mode-tools
touch /var/run/laptop-mode-tools/enabled
@ -57,4 +54,4 @@ case "$1" in
echo "Usage: $0 {stop|start|restart|status}"
;;
esac
exit 0
exit 0