From e7192dee6229c4f17afdcdb0f80b2a8b5aa5a513 Mon Sep 17 00:00:00 2001 From: Michele Di Maria Date: Wed, 1 Feb 2012 22:22:43 +0100 Subject: - Added a 20ms delay between each command sent from the client to LCDproc. - Better managed errors. Now the client resets the error counter every successful communication session with LCDproc (before was a global counter). The error counter is managed inside the client (lcdproc_client.php). - Because of the above change, now the "client script" (lcdclient.sh) do not cycle anymore. --- config/lcdproc-dev/lcdproc.inc | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'config/lcdproc-dev/lcdproc.inc') diff --git a/config/lcdproc-dev/lcdproc.inc b/config/lcdproc-dev/lcdproc.inc index 3d0a7e69..7617e168 100644 --- a/config/lcdproc-dev/lcdproc.inc +++ b/config/lcdproc-dev/lcdproc.inc @@ -237,7 +237,7 @@ $config_text .= "User=nobody\n"; $config_text .= "ServerScreen=no\n"; $config_text .= "Foreground=no\n"; - $config_text .= "TitleSpeed=10\n"; + $config_text .= "TitleSpeed=5\n"; $config_text .= "DriverPath=/usr/local/lib/lcdproc/\n"; $config_text .= "GoodBye=\"Thanks for using\"\n"; $config_text .= "GoodBye=\" {$g['product_name']} \"\n"; @@ -502,14 +502,8 @@ /* generate rc file start and stop */ $client_script = <<