From: | "Christoph Junghans (ottxor)" <ottxor@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-laptop/tpacpi-bat/files: tpacpi-bat.initd.1 |
Date: | Fri, 06 Dec 2013 14:49:22 |
Message-Id: | 20131206144915.286382004B@flycatcher.gentoo.org |
1 | ottxor 13/12/06 14:49:15 |
2 | |
3 | Modified: tpacpi-bat.initd.1 |
4 | Log: |
5 | fixed init.d script (bug #493398) |
6 | |
7 | (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key C2000586) |
8 | |
9 | Revision Changes Path |
10 | 1.2 app-laptop/tpacpi-bat/files/tpacpi-bat.initd.1 |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/tpacpi-bat/files/tpacpi-bat.initd.1?rev=1.2&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/tpacpi-bat/files/tpacpi-bat.initd.1?rev=1.2&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/tpacpi-bat/files/tpacpi-bat.initd.1?r1=1.1&r2=1.2 |
15 | |
16 | Index: tpacpi-bat.initd.1 |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-laptop/tpacpi-bat/files/tpacpi-bat.initd.1,v |
19 | retrieving revision 1.1 |
20 | retrieving revision 1.2 |
21 | diff -u -r1.1 -r1.2 |
22 | --- tpacpi-bat.initd.1 4 Nov 2013 04:05:30 -0000 1.1 |
23 | +++ tpacpi-bat.initd.1 6 Dec 2013 14:49:15 -0000 1.2 |
24 | @@ -57,8 +57,8 @@ |
25 | |
26 | for bat in ${BATS}; do |
27 | ebegin " setting thresholds for ${bat}: $tstart $tstop" |
28 | - /usr/bin/tpacpi-bat -s startChargeThreshold ${bat} ${tstart} |
29 | - /usr/bin/tpacpi-bat -s stopChargeThreshold ${bat} ${tstop} |
30 | + /usr/bin/tpacpi-bat -s startThreshold ${bat} ${tstart} |
31 | + /usr/bin/tpacpi-bat -s stopThreshold ${bat} ${tstop} |
32 | eend $? |
33 | done |
34 | } |
35 | @@ -71,8 +71,8 @@ |
36 | require_started |
37 | |
38 | for bat in ${BATS}; do |
39 | - tstart=$(/usr/bin/tpacpi-bat -g startChargeThreshold ${bat}) |
40 | - tstop=$(/usr/bin/tpacpi-bat -g stopChargeThreshold ${bat}) |
41 | + tstart=$(/usr/bin/tpacpi-bat -g startThreshold ${bat}) |
42 | + tstop=$(/usr/bin/tpacpi-bat -g stopThreshold ${bat}) |
43 | einfo "Battery ${bat}: ${tstart} ${tstop}" |
44 | done |
45 | } |