Package: laptop-mode-tools
Version: 1.51-1
Severity: normal

Starting and stopping laptop-mode-tools now produces the error:

/usr/sbin/laptop_mode: line 207: [: : integer expression expected

which results from this line:

if [ "$DEBUG" -eq 1 ]; then

which will produce an error if $DEBUG is not a numeric value.

This appears to be due to the addition of the DEBUG option. The new default 
laptop-mode.conf does contain the
line DEBUG=0 but thie won't be added to existing configuration files. DEBUG=0 
should also be provided as the
one of the default options at the top of /usr/sbin/laptop_mode.

Francis

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30.6 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

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.16-3     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.13-3     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
ii  pm-utils                    1.2.5-4      utilities and scripts for power ma
ii  sdparm                      1.02-1       Output and modify SCSI device para
ii  wireless-tools              29-2         Tools for manipulating Linux Wirel

laptop-mode-tools suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to