Hi Jakob,

Jakob Schuerz wrote:
Bootmessage: Enabling laptop mode.../usr/share/laptop-mode-tools/modules/lcd-brightness: line 25: echo: write error: Invalid argument

I found the line
                if ( $BRIGHTNESS_COMMAND > $BRIGHTNESS_OUTPUT ) ; then

in the Script. It is a shell-skript, i think it should be:

                if [ $BRIGHTNESS_COMMAND -gt $BRIGHTNESS_OUTPUT ] ; then

But i don't know how to make a patch.

Ehm... no. It's not ">" as in "greater than", it's ">" as in "redirect the output of the $BRIGHTNESS_COMMAND to the file $BRIGHTNESS_OUTPUT. So that's fine. What is in your configuration file for the lcd-brightness module (/etc/laptop-mode/conf.d/lcd-brightness.conf)?

Cheers,
Bart



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to