Bug#328118: /usr/sbin/laptop_mode: line 199: [: yes: integer expression expected

2005-11-06 Thread Le0n_84 debianized

i've solve this problem editing /usr/sbin/laptop_mode and changing
 if [ $VERBOSE_OUTPUT -ne 0 ] ; then 
with
 if [ $VERBOSE_OUTPUT != 0 ] ; then 

next time i've reboot the machine it told me
Sun Nov  6 18:38:17 2005: Enabling laptop mode: Laptop Mode Tools 1.10
Sun Nov  6 18:38:17 2005: On AC power: Setting action to stop because 
ENABLE_LAPTOP

_MODE_ON_AC is not set.
instead of
 /usr/sbin/laptop_mode: line 199: [: yes: integer expression expected 

_
Comunica in tempo reale http://messenger.msn.com/beta



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



Bug#328118: /usr/sbin/laptop_mode: line 199: [: yes: integer expression expected

2005-11-06 Thread Le0n_84 debianized

as you can see i don't know too much shell scripting :-D
in fact after i've modified and rebooted the machine i saw many messages 
about the option PARTITION in laptop-mode.conf, so i thought that this 
solution was wrong...


i've installed the 1.11-1 version now...thank you for that link and for the 
explanation about the difference!


_
Personalizza MSN Messenger con sfondi e fotografie! 
http://www.ilovemessenger.msn.it/




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