diff options
author | Seth Mos <seth.mos@dds.nl> | 2012-02-01 13:31:35 -0800 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2012-02-01 13:31:35 -0800 |
commit | c424326c18b13fc0d8a78bb6ddf4589f4bdbc4a3 (patch) | |
tree | 86751bfeaf3b57ab20c2719a233aa9cb71821454 /config/lcdproc-dev/lcdproc.inc | |
parent | 6ce82bf086b196acf96c62211809cb61a4b239e5 (diff) | |
parent | e7192dee6229c4f17afdcdb0f80b2a8b5aa5a513 (diff) | |
download | pfsense-packages-c424326c18b13fc0d8a78bb6ddf4589f4bdbc4a3.tar.gz pfsense-packages-c424326c18b13fc0d8a78bb6ddf4589f4bdbc4a3.tar.bz2 pfsense-packages-c424326c18b13fc0d8a78bb6ddf4589f4bdbc4a3.zip |
Merge pull request #207 from mdima/master
Changes to improve stability
Diffstat (limited to 'config/lcdproc-dev/lcdproc.inc')
-rw-r--r-- | config/lcdproc-dev/lcdproc.inc | 12 |
1 files changed, 3 insertions, 9 deletions
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 = <<<EOD #!/bin/sh -# script starts a lcd client and always keeps it active for 3 attemps -counter=1 -while [ \$counter -le 3 ] -do - # loop the client to drive the display - /usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php - counter=\$(( \$counter + 1 )) - sleep 1 +/usr/local/bin/php -f /usr/local/pkg/lcdproc_client.php +sleep 1 done EOD; /* generate rc file start and stop */ |