diff options
author | Scott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com> | 2009-06-15 17:56:50 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com> | 2009-06-15 17:56:50 -0400 |
commit | d636274b5eb36ddf3dfe83e641ff134eeb9407b8 (patch) | |
tree | c6a892a70a7cb552bbdb27e9de17c4bd0f148f96 | |
parent | dabb14011b75ad44f475b8ff0c94ad3db2156213 (diff) | |
download | pfsense-packages-d636274b5eb36ddf3dfe83e641ff134eeb9407b8.tar.gz pfsense-packages-d636274b5eb36ddf3dfe83e641ff134eeb9407b8.tar.bz2 pfsense-packages-d636274b5eb36ddf3dfe83e641ff134eeb9407b8.zip |
Do not start during sync. This is hanging the package installer.
-rw-r--r-- | config/lcdproc/lcdproc.inc | 7 |
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'); } |