Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101201 - laptop-mode-tools script looping - /etc/acpi/actions/lm_battery.sh
Summary: laptop-mode-tools script looping - /etc/acpi/actions/lm_battery.sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-08-03 06:50 UTC by Jay Phelps
Modified: 2005-08-08 10:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jay Phelps 2005-08-03 06:50:44 UTC
With laptop-mode-tools 1,07:
lm_battery.sh loops on line 12 when reading configuragion with this line:
. /usr/sbin/laptop_mode loadconfig

Checking /usr/sbin/laptop_mode reveals 'loadconfig' is not the correct option,
it should be readconfig I believe:
. /usr/sbin/laptop_mode readconfig

This has fixed the looping problem at least.
Comment 1 Bart Samwel 2005-08-04 06:58:37 UTC
This is fixed in upstream version 1.08, thanks for noticing.

--Bart
Comment 2 Henrik Brix Andersen 2005-08-08 10:24:26 UTC
Added app-laptop/laptop-mode-tools-1.08 to portage. Thank you for reporting this.