summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2013-12-06 14:49:15 +0000
committerChristoph Junghans <ottxor@gentoo.org>2013-12-06 14:49:15 +0000
commit764123acaba546db1b0f51da75406ccfcec4e18b (patch)
tree88ab65e3d65870a7d226f519e42500319af58392 /app-laptop/tpacpi-bat
parentMask aufs-source-12.1 for the same reason as gentoo-sources-12.1 (diff)
downloadgentoo-2-764123acaba546db1b0f51da75406ccfcec4e18b.tar.gz
gentoo-2-764123acaba546db1b0f51da75406ccfcec4e18b.tar.bz2
gentoo-2-764123acaba546db1b0f51da75406ccfcec4e18b.zip
fixed init.d script (bug #493398)
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key C2000586)
Diffstat (limited to 'app-laptop/tpacpi-bat')
-rw-r--r--app-laptop/tpacpi-bat/ChangeLog8
-rw-r--r--app-laptop/tpacpi-bat/files/tpacpi-bat.initd.18
-rw-r--r--app-laptop/tpacpi-bat/tpacpi-bat-1.1-r1.ebuild (renamed from app-laptop/tpacpi-bat/tpacpi-bat-1.1.ebuild)2
3 files changed, 12 insertions, 6 deletions
diff --git a/app-laptop/tpacpi-bat/ChangeLog b/app-laptop/tpacpi-bat/ChangeLog
index 8d85397b8972..3160fbbb3be3 100644
--- a/app-laptop/tpacpi-bat/ChangeLog
+++ b/app-laptop/tpacpi-bat/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-laptop/tpacpi-bat
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpacpi-bat/ChangeLog,v 1.6 2013/11/04 18:56:09 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpacpi-bat/ChangeLog,v 1.7 2013/12/06 14:49:15 ottxor Exp $
+
+*tpacpi-bat-1.1-r1 (06 Dec 2013)
+
+ 06 Dec 2013; Christoph Junghans <ottxor@gentoo.org> +tpacpi-bat-1.1-r1.ebuild,
+ -tpacpi-bat-1.1.ebuild, files/tpacpi-bat.initd.1:
+ fixed init.d script (bug #493398)
04 Nov 2013; Christoph Junghans <ottxor@gentoo.org> -files/tpacpi-bat.initd.0,
-tpacpi-bat-1.0-r1.ebuild:
diff --git a/app-laptop/tpacpi-bat/files/tpacpi-bat.initd.1 b/app-laptop/tpacpi-bat/files/tpacpi-bat.initd.1
index 0150457ee6e0..a1900794daab 100644
--- a/app-laptop/tpacpi-bat/files/tpacpi-bat.initd.1
+++ b/app-laptop/tpacpi-bat/files/tpacpi-bat.initd.1
@@ -57,8 +57,8 @@ set_all() {
for bat in ${BATS}; do
ebegin " setting thresholds for ${bat}: $tstart $tstop"
- /usr/bin/tpacpi-bat -s startChargeThreshold ${bat} ${tstart}
- /usr/bin/tpacpi-bat -s stopChargeThreshold ${bat} ${tstop}
+ /usr/bin/tpacpi-bat -s startThreshold ${bat} ${tstart}
+ /usr/bin/tpacpi-bat -s stopThreshold ${bat} ${tstop}
eend $?
done
}
@@ -71,8 +71,8 @@ info() {
require_started
for bat in ${BATS}; do
- tstart=$(/usr/bin/tpacpi-bat -g startChargeThreshold ${bat})
- tstop=$(/usr/bin/tpacpi-bat -g stopChargeThreshold ${bat})
+ tstart=$(/usr/bin/tpacpi-bat -g startThreshold ${bat})
+ tstop=$(/usr/bin/tpacpi-bat -g stopThreshold ${bat})
einfo "Battery ${bat}: ${tstart} ${tstop}"
done
}
diff --git a/app-laptop/tpacpi-bat/tpacpi-bat-1.1.ebuild b/app-laptop/tpacpi-bat/tpacpi-bat-1.1-r1.ebuild
index afa49a6c0ea8..ce799efbe820 100644
--- a/app-laptop/tpacpi-bat/tpacpi-bat-1.1.ebuild
+++ b/app-laptop/tpacpi-bat/tpacpi-bat-1.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpacpi-bat/tpacpi-bat-1.1.ebuild,v 1.1 2013/11/04 18:54:09 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpacpi-bat/tpacpi-bat-1.1-r1.ebuild,v 1.1 2013/12/06 14:49:15 ottxor Exp $
EAPI=5