aboutsummaryrefslogtreecommitdiffstats
path: root/config/lcdproc-dev
diff options
context:
space:
mode:
authorJim P <jim@pingle.org>2012-10-26 08:12:44 -0700
committerJim P <jim@pingle.org>2012-10-26 08:12:44 -0700
commit544809af8d37c4382346e4c1d9a12d056c633979 (patch)
treefd3925e7ffcc3e14aa5b557ed7c2031c14ff006b /config/lcdproc-dev
parentb3e577ca4414f02e19f703f594513bf267e9d3a4 (diff)
parent01ff711f78efb02eb1a1fb30dbc2ddecef2aee54 (diff)
downloadpfsense-packages-544809af8d37c4382346e4c1d9a12d056c633979.tar.gz
pfsense-packages-544809af8d37c4382346e4c1d9a12d056c633979.tar.bz2
pfsense-packages-544809af8d37c4382346e4c1d9a12d056c633979.zip
Merge pull request #330 from phil-davis/master
Allow lcdproc_client to run forever
Diffstat (limited to 'config/lcdproc-dev')
-rw-r--r--config/lcdproc-dev/lcdproc_client.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/lcdproc-dev/lcdproc_client.php b/config/lcdproc-dev/lcdproc_client.php
index 6050b6ca..22713b98 100644
--- a/config/lcdproc-dev/lcdproc_client.php
+++ b/config/lcdproc-dev/lcdproc_client.php
@@ -911,6 +911,8 @@
lcdproc_warn("Failed to connect to LCDd process $errstr ($errno)");
$lcdproc_connect_errors++;
} else {
+ /* Allow the script to run forever (0) */
+ set_time_limit(0);
build_interface($lcd);
loop_status($lcd);
fclose($lcd);