tags 541574 - patch tags 541574 + moreinfo thanks On Saturday 15 Aug 2009 01:21:04 Flavio Grossi wrote: > 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.
From the report you seem to be using laptop-mode-tools version 1.50. In this version, the DEBUG switch was introduced, which is disabled by default in /etc/laptop-mode/laptop-mode.conf Are you using the latest laptop-mode.conf file from the package ? Ritesh -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention."
signature.asc
Description: This is a digitally signed message part.

