aboutsummaryrefslogtreecommitdiffstats
path: root/config/lcdproc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-06-15 17:56:50 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com>2009-06-15 17:56:50 -0400
commitd636274b5eb36ddf3dfe83e641ff134eeb9407b8 (patch)
treec6a892a70a7cb552bbdb27e9de17c4bd0f148f96 /config/lcdproc
parentdabb14011b75ad44f475b8ff0c94ad3db2156213 (diff)
downloadpfsense-packages-d636274b5eb36ddf3dfe83e641ff134eeb9407b8.tar.gz
pfsense-packages-d636274b5eb36ddf3dfe83e641ff134eeb9407b8.tar.bz2
pfsense-packages-d636274b5eb36ddf3dfe83e641ff134eeb9407b8.zip
Do not start during sync. This is hanging the package installer.
Diffstat (limited to 'config/lcdproc')
-rw-r--r--config/lcdproc/lcdproc.inc7
1 files changed, 1 insertions, 6 deletions
diff --git a/config/lcdproc/lcdproc.inc b/config/lcdproc/lcdproc.inc
index 3ae96f31..84c5765c 100644
--- a/config/lcdproc/lcdproc.inc
+++ b/config/lcdproc/lcdproc.inc
@@ -333,13 +333,8 @@ EOD;
));
conf_mount_ro();
- /* if lcdproc not running start it */
- if(!lcdproc_running()) {
- lcdproc_notice("Starting service lcdproc");
- lcdproc_action('start');
- }
/* or restart lcdproc if settings were changed */
- elseif($_POST['comport']) {
+ if(lcdproc_running($_POST['comport'])) {
lcdproc_notice("Restarting service lcdproc");
lcdproc_action('restart');
}