[laptop-mode] laptop-mode 1.50 needs DEBUG setting

Ritesh Raj Sarraf rrs at researchut.com
Tue Sep 1 22:50:40 CEST 2009


--nextPart7610982.o8MFh3TOrM
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable

Hi Matthijs,

Thanks for pointing that out. I've committed the fix and will be in the nex=
t=20
release.


Regards,
Ritesh


On Tuesday 01 Sep 2009 23:25:57 Matthijs Kooijman wrote:
> Hi all,
>
> I recently upgraded to laptop-mode-tools v1.50, and got the following err=
or
> on every start:
>
>   /usr/sbin/laptop_mode: line 207: [: : integer expression expected
>
> A quick glance on that line points out it is caused by $DEBUG being empty
> (probably undefined). It seems this config value is new in 1.50, since I
> also saw that the new default configuration has a DEBUG=3D0 line. However=
, I
> kept my old configuration, since I made a bunch of other changes.
>
> So, I think that laptop-mode-tools doesn't have an internal default for t=
he
> DEBUG setting, while I think it should have (it has default values for
> other settings as well, right?).
>
> I haven't tried the latest version that was just released, but I didn't
> find anything related in the changelog. Reproducing this issue should be
> easy: Just remove any DEBUG=3D line from your configuration.
>
> I haven't got time right now to prepare a proper patch, but the fix should
> be pretty trivial.
>
> Gr.
>
> Matthijs

=2D-=20
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

--nextPart7610982.o8MFh3TOrM
Content-Description: This is a digitally signed message part.
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL: <http://mailman.samwel.tk/pipermail/laptop-mode/attachments/20090902/0ab6f823/attachment.pgp>

--nextPart7610982.o8MFh3TOrM--


More information about the laptop-mode mailing list