Package: laptop-mode-tools
Version: 1.50-1
Severity: minor
Tags: patch
When starting laptop mode i get this error:
# invoke-rc.d laptop-mode start
Enabling laptop mode...[: 209: Illegal number:
[...]
#
this is due to the use of the uninitialized variable DEBUG in
/usr/sbin/laptop_mode, on line 207:
if [ "$DEBUG" -eq 1 ]; then
set -vx;
fi
and DEBUG is never defined on that file.
The fix is trivial: just initialize DEBUG somewhere before use.
Thanks for your work,
Flavio Grossi
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-custom.1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages laptop-mode-tools depends on:
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
ii psmisc 22.8-1 utilities that use the proc file s
ii util-linux 2.15.1~rc1-1 Miscellaneous system utilities
Versions of packages laptop-mode-tools recommends:
ii acpid 1.0.10-2 Utilities for using ACPI power man
ii ethtool 6+20090307-1 display or change Ethernet device
ii hal 0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer
ii hdparm 9.15-1 tune hard disk parameters for high
ii net-tools 1.60-23 The NET-3 networking toolkit
pn sdparm <none> (no description available)
ii wireless-too 29-2 Tools for manipulating Linux Wirel
laptop-mode-tools suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]