From d636274b5eb36ddf3dfe83e641ff134eeb9407b8 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 15 Jun 2009 17:56:50 -0400 Subject: Do not start during sync. This is hanging the package installer. --- config/lcdproc/lcdproc.inc | 7 +------ 1 file changed, 1 insertion(+), 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'); } -- cgit v1.2.3